mscorlib(4.0.0.0) API with additions
|
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... | |
Defines the context for a set of T:System.Xml.XmlDocument objects.
Definition at line 4 of file XmlImplementation.cs.
System.Xml.XmlImplementation.XmlImplementation | ( | ) |
Initializes a new instance of the T:System.Xml.XmlImplementation class.
Definition at line 11 of file XmlImplementation.cs.
System.Xml.XmlImplementation.XmlImplementation | ( | XmlNameTable | nt | ) |
Initializes a new instance of the T:System.Xml.XmlImplementation class with the T:System.Xml.XmlNameTable specified.
nt | An T:System.Xml.XmlNameTable object. |
Definition at line 18 of file XmlImplementation.cs.
|
virtual |
Creates a new T:System.Xml.XmlDocument.
XmlDocument
object.Definition at line 39 of file XmlImplementation.cs.
bool System.Xml.XmlImplementation.HasFeature | ( | string | strFeature, |
string | strVersion | ||
) |
Tests if the Document Object Model (DOM) implementation implements a specific feature.
strFeature | The package name of the feature to test. This name is not case-sensitive. |
strVersion | This 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 . |
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.