mscorlib(4.0.0.0) API with additions
System.Xml.XmlImplementation Class Reference

Defines the context for a set of T:System.Xml.XmlDocument objects. More...

Public Member Functions

 XmlImplementation ()
 Initializes a new instance of the T:System.Xml.XmlImplementation class. More...
 
 XmlImplementation (XmlNameTable nt)
 Initializes a new instance of the T:System.Xml.XmlImplementation class with the T:System.Xml.XmlNameTable specified. More...
 
bool HasFeature (string strFeature, string strVersion)
 Tests if the Document Object Model (DOM) implementation implements a specific feature. More...
 
virtual XmlDocument CreateDocument ()
 Creates a new T:System.Xml.XmlDocument. More...
 

Detailed Description

Defines the context for a set of T:System.Xml.XmlDocument objects.

Definition at line 4 of file XmlImplementation.cs.

Constructor & Destructor Documentation

◆ XmlImplementation() [1/2]

System.Xml.XmlImplementation.XmlImplementation ( )

Initializes a new instance of the T:System.Xml.XmlImplementation class.

Definition at line 11 of file XmlImplementation.cs.

◆ XmlImplementation() [2/2]

System.Xml.XmlImplementation.XmlImplementation ( XmlNameTable  nt)

Initializes a new instance of the T:System.Xml.XmlImplementation class with the T:System.Xml.XmlNameTable specified.

Parameters
ntAn T:System.Xml.XmlNameTable object.

Definition at line 18 of file XmlImplementation.cs.

Member Function Documentation

◆ CreateDocument()

virtual XmlDocument System.Xml.XmlImplementation.CreateDocument ( )
virtual

Creates a new T:System.Xml.XmlDocument.

Returns
The new XmlDocument object.

Definition at line 39 of file XmlImplementation.cs.

◆ HasFeature()

bool System.Xml.XmlImplementation.HasFeature ( string  strFeature,
string  strVersion 
)

Tests if the Document Object Model (DOM) implementation implements a specific feature.

Parameters
strFeatureThe package name of the feature to test. This name is not case-sensitive.
strVersionThis is the version number of the package name to test. If the version is not specified (null), supporting any version of the feature causes the method to return true.
Returns
true if the feature is implemented in the specified version; otherwise, false.The following table shows the combinations that cause HasFeature to return true.strFeature strVersion XML 1.0 XML 2.0

Definition at line 28 of file XmlImplementation.cs.


The documentation for this class was generated from the following file: