XmlDomImplementation XmlDomImplementation XmlDomImplementation XmlDomImplementation XmlDomImplementation Class

Definition

Provides methods that are independent of any particular instance of the document object model.

public : sealed class XmlDomImplementation : IXmlDomImplementation
struct winrt::Windows::Data::Xml::Dom::XmlDomImplementation : IXmlDomImplementation
public sealed class XmlDomImplementation : IXmlDomImplementation
Public NotInheritable Class XmlDomImplementation Implements IXmlDomImplementation
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

HasFeature(String, Object) HasFeature(String, Object) HasFeature(String, Object) HasFeature(String, Object) HasFeature(String, Object)

Indicates support for the specified feature.

public : Platform::Boolean HasFeature(Platform::String feature, Platform::Object version)
bool HasFeature(winrt::hstring feature, winrt::Windows::Foundation::IInspectable version) const;
public bool HasFeature(String feature, Object version)
Public Function HasFeature(feature As String, version As Object) As bool
var bool = xmlDomImplementation.hasFeature(feature, version);
Parameters
feature
String String String

Specifies the feature to test. In Level 1, valid feature values are "XML", "DOM", and "MS-DOM" (case-insensitive).

version
Object Object Object

Specifies the version number to test. If NULL, tests for implementation of the feature in any version. In Level 1, "1.0" is the valid version value.

Returns
bool bool bool

True if the specified feature is implemented; otherwise false.