Condividi tramite


IDOMImplementation.HasFeature(String, String) Method

Definition

Test if the DOM implementation implements a specific feature and version, as specified in .

[Android.Runtime.Register("hasFeature", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetHasFeature_Ljava_lang_String_Ljava_lang_String_Handler:Org.W3c.Dom.IDOMImplementationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool HasFeature (string? feature, string? version);
[<Android.Runtime.Register("hasFeature", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetHasFeature_Ljava_lang_String_Ljava_lang_String_Handler:Org.W3c.Dom.IDOMImplementationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member HasFeature : string * string -> bool

Parameters

feature
String

The name of the feature to test.

version
String

This is the version number of the feature to test.

Returns

true if the feature is implemented in the specified version, false otherwise.

Attributes

Remarks

Test if the DOM implementation implements a specific feature and version, as specified in .

Java documentation for org.w3c.dom.DOMImplementation.hasFeature(java.lang.String, java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to