IXMLDOMDocument.implementation (C#)
Previous | Next |
IXMLDOMDocument.implementation (C#)
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.
using Microsoft.WindowsMediaServices.Interop; using interop_msxml; // Declare variables. WMSServer Server; IXMLDOMDocument Playlist; IXMLDOMImplementation oImplementation; try { // Create a new WMSServer object. Server = new WMSServerClass(); // Create a new playlist object. Playlist = Server.CreatePlaylist(); // Load a playlist. Playlist.load("file://c:\\wmpub\\wmroot\\simple.wsx"); // Create an IXMLDOMImplementation object. oImplementation = Playlist.implementation; } catch (Exception e) { // TODO: Handle exceptions. }
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 |