Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Xml.​XmlImplementation
Assembly: System.Xml.ReaderWriter
Inheritance: object → XmlImplementation
Defines the context for a set of <see cref="T:System.Xml.XmlDocument" /> objects.
Methods
public
XmlDocument
CreateDocument​()
Creates a new <see cref="T:System.Xml.XmlDocument" /> .
Returns The new <see langword="XmlDocument" /> object.
public
bool
HasFeature​(string strFeature,
string strVersion)
Tests if the Document Object Model (DOM) implementation implements a specific feature.
Returns <see langword="true" /> if the feature is implemented in the specified version; otherwise, <see langword="false" /> .
The following table shows the combinations that cause <see langword="HasFeature" /> to return <see langword="true" /> .
<list type="table">
<listheader>
<term> strFeature</term>
<description> strVersion</description>
</listheader>
<item>
<term> XML</term>
<description> 1.0</description>
</item>
<item>
<term> XML</term>
<description> 2.0</description>
</item>
</list>
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 ( <see langword="null" /> ), supporting any version of the feature causes the method to return <see langword="true" /> .
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object