Windows Media Player 11 SDK IWMPStringCollection2.getItemInfo (VB and C#)
Previous | Next |
IWMPStringCollection2.getItemInfo (VB and C#)
The getItemInfo method returns the string corresponding to the specified string collection item index and name.
[Visual Basic] Function getItemInfo( lCollectionIndex As Integer, bstrItemName As String ) As String [C#] string getItemInfo ( int lCollectionIndex, string bstrItemName );
Parameters
lCollectionIndex
The System.Int32 specifying the zero-based index of the string collection item from which to get the attribute.
bstrItemName
The System.String that is the attribute name.
Return Value
The System.String that is the name of the string collection item. For attributes whose underlying value is System.Boolean, it returns the string "true" or "false".
Remarks
To retrieve attributes with multiple values and attributes with complex values, use 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 |