IXMLDOMDocument.implementation (Visual Basic .NET)

banner art

Previous Next

IXMLDOMDocument.implementation (Visual Basic .NET)

The implementation property contains an IXMLDOMImplementation object for the document.

Syntax

  IXMLDOMImplementation = IXMLDOMDocument
  .implementation

Remarks

The property is read-only. An XML DOM application can use objects from multiple implementations. This property provides access to the IXMLDOMImplementation object that handles this document.

Example Code

The following example creates an IXMLDOMImplementation object.

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 playlist.
Playlist.Load ("file://c:\wmpub\wmroot\simple.wsx")

' Create an IXMLDOMImplementation object.
Set oImplementation = Playlist.implementation
Exit Sub

Err:
' TODO: Handle errors.

Requirements

Reference: Add references to Microsoft.WindowsMediaServices and interop_msxml.

Namespace: Microsoft.WindowsMediaServices.Interop, interop_msxml.

Assembly: Microsoft.WindowsMediaServices.dll, interop_msxml.dll.

Library: WMSServerTypeLib.dll, msxml.dll.

Platform: Windows Server 2003 family, Windows Server 2008 family.

See Also

Previous Next