Share via


IXMLDOMImplementation Object (Visual Basic .NET)

The IXMLDOMImplementation object provides methods that are independent of any particular instance of the Document Object Model. For more information, see the Microsoft XML SDK 3.0 documentation available at the Microsoft Web site.

The IXMLDOMImplementation object supports the following method.

Method

Description

hasFeature

Returns a Boolean value indicating whether the specified version of the implementation supports the specified feature.

Example

The following example creates an IXMLDOMImplementation object and checks whether a specified feature is supported.

Imports interop_msxml
Imports Microsoft.WindowsMediaServices.Interop

On Error GoTo Err

' Declare variables.
Dim Server As New WMSServerClass()
Dim Playlist As IXMLDOMDocument
Dim oImplementation As IXMLDOMImplementation

' Create a new playlist object.
Set Playlist = Server.CreatePlaylist

' Load a sample playlist file and check whether the file
' supports the specified feature.
Playlist.Load "file://c:\wmpub\wmroot\simple.wsx"
Set oImplementation = Playlist.implementation
MsgBox oImplementation.hasFeature("DOM", "1.0")
Exit Sub

Err:
' TODO: Handle errors.

See Also

Reference

IXMLDOMDocument Object (Visual Basic .NET)