Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
.gif)
| Previous | Next |
IWMPStringCollection2.getAttributeCountByType (VB and C#)
The getAttributeCountByType method returns the number of attributes associated with the specified string collection index, attribute name, and language.
[Visual Basic] Function getAttributeCountByType( lCollectionIndex As Integer, bstrType As String, bstrLanguage As String ) As Integer [C#] int getAttributeCountByType ( int lCollectionIndex, string bstrType, string bstrLanguage );
Parameters
lCollectionIndex
The System.Int32 specifying the zero-based index of the string collection item from which to get the attribute.
bstrType
The System.String that is the name of the attribute.
bstrLanguage
The System.String that is the name of the language. If the value is set to null or to a zero-length string (""), the current locale string is used. Otherwise, the value must be a valid RFC 1766 language string such as "en-us".
Return Value
The System.Int32 that is the count.
Remarks
This method is used to discover the number of attributes corresponding to a particular attribute name for a given StringCollection item. Index numbers can then be passed to the fourth parameter of the getItemInfoByType method.
To use this method, read access to the library is required. For more information, see Library Access.
Requirements
Version: Windows Media Player 11.
Namespace: WMPLib
Assembly: Interop.WMPLib.dll (automatically generated by Visual Studio)
See Also
| Previous | Next |