Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlDomImplementation.HasFeature | hasFeature method

Applies to Windows and Windows Phone

Indicates support for the specified feature.

Syntax


var boolean = xmlDomImplementation.hasFeature(feature, version);

Parameters

feature

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

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

version

Type: Object [JavaScript] | System.Object [.NET] | Platform::Object [C++]

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.

Return value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

True if the specified feature is implemented; otherwise false.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Data.Xml.Dom
Windows::Data::Xml::Dom [C++]

Metadata

Windows.winmd

See also

XmlDomImplementation

 

 

Show:
© 2014 Microsoft