Windows Media Player 11 SDK AxWindowsMediaPlayer.newMedia (VB and C#)
Previous | Next |
AxWindowsMediaPlayer.newMedia (VB and C#)
The newMedia method returns an IWMPMedia interface for a new media item.
[Visual Basic] Public Overridable Function newMedia( bstrURL As String ) As IWMPMedia [C#] public virtual IWMPMedia newMedia ( string bstrURL )
Parameters
bstrURL
A System.String that is the URL of the digital media file that is used to initialize the new media item.
Return Values
A WMPLib.IWMPMedia interface that represents the newly created media item.
Remarks
The bstrURL parameter must not be a zero-length string ("") or null.
Requirements
Version: Windows Media Player 9 Series or later
Namespace: AxWMPLib
Assembly: AxInterop.WMPLib.dll (automatically generated by Visual Studio)
See Also
Previous | Next |