IWMPDVD.isAvailable (VB and C#)
The isAvailable property (the get_isAvailable method in C#) gets a value that indicates whether a specified type of information is available or a specified action can be performed.
[Visual Basic]
ReadOnly Property isAvailable(
bstrItem As System.String
) As System.Boolean
[C#]
System.Boolean get_isAvailable (
System.String bstrItem
)
Parameters
bstrItem
A System.String that is one of the following values.
Value | Description |
---|---|
back | Discovers whether the IWMPDVD.back method is available. |
dvd | Discovers whether the DVD is loaded. |
dvdDecoder | Discovers whether the DVD decoder is installed on system. |
resume | Discovers whether the IWMPDVD.resume method is available. |
titleMenu | Discovers whether the IWMPDVD.titleMenu method is available. |
topMenu | Discovers whether the IWMPDVD.topMenu method is available. Commonly called the root menu. |
Property Value
System.Boolean
A System.Boolean that indicates whether a specified type of information is available or a specified action can be performed.
Remarks
The DVD features of Windows Media Player will not work on computers that do not have a DVD decoder installed. You can determine whether a decoder is available by calling the isAvailable property (the get_isAvailable method in C#) and passing in the System.String value "dvdDecoder".
Every DVD is authored differently. The methods available during DVD playback and navigation depend on how the DVD is authored.
Requirements
Version |
Windows Media Player 9 Series or later |
Namespace |
WMPLib |
Assembly |
|