XmlDomImplementation.HasFeature(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
bool
True if the specified feature is implemented; otherwise false.