Share via


XmlDomImplementation.HasFeature(String, Object) Method

Definition

Indicates support for the specified feature.

public:
 virtual bool HasFeature(Platform::String ^ feature, Platform::Object ^ version) = HasFeature;
bool HasFeature(winrt::hstring const& feature, IInspectable const& version);
public bool HasFeature(string feature, object version);
function hasFeature(feature, version)
Public Function HasFeature (feature As String, version As Object) As Boolean

Parameters

feature
String

Platform::String

winrt::hstring

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

version
Object

Platform::Object

IInspectable

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

Boolean

bool

True if the specified feature is implemented; otherwise false.

Applies to