다음을 통해 공유


Attributes2Impl.IsSpecified Method

Definition

Overloads

IsSpecified(Int32)

Returns the current value of an attribute's "specified" flag.

IsSpecified(String)

Returns the current value of an attribute's "specified" flag.

IsSpecified(String, String)

Returns the current value of an attribute's "specified" flag.

IsSpecified(Int32)

Returns the current value of an attribute's "specified" flag.

[Android.Runtime.Register("isSpecified", "(I)Z", "GetIsSpecified_IHandler")]
public virtual bool IsSpecified (int index);
[<Android.Runtime.Register("isSpecified", "(I)Z", "GetIsSpecified_IHandler")>]
abstract member IsSpecified : int -> bool
override this.IsSpecified : int -> bool

Parameters

index
Int32

The attribute index (zero-based).

Returns

current flag value

Implements

Attributes

Exceptions

When the supplied index does not identify an attribute.

Remarks

Returns the current value of an attribute's "specified" flag.

Java documentation for org.xml.sax.ext.Attributes2Impl.isSpecified(int).

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

IsSpecified(String)

Returns the current value of an attribute's "specified" flag.

[Android.Runtime.Register("isSpecified", "(Ljava/lang/String;)Z", "GetIsSpecified_Ljava_lang_String_Handler")]
public virtual bool IsSpecified (string? qName);
[<Android.Runtime.Register("isSpecified", "(Ljava/lang/String;)Z", "GetIsSpecified_Ljava_lang_String_Handler")>]
abstract member IsSpecified : string -> bool
override this.IsSpecified : string -> bool

Parameters

qName
String

The XML qualified (prefixed) name.

Returns

current flag value

Implements

Attributes

Exceptions

When the supplied name does not identify an attribute.

Remarks

Returns the current value of an attribute's "specified" flag.

Java documentation for org.xml.sax.ext.Attributes2Impl.isSpecified(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

IsSpecified(String, String)

Returns the current value of an attribute's "specified" flag.

[Android.Runtime.Register("isSpecified", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetIsSpecified_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual bool IsSpecified (string? uri, string? localName);
[<Android.Runtime.Register("isSpecified", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetIsSpecified_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member IsSpecified : string * string -> bool
override this.IsSpecified : string * string -> bool

Parameters

uri
String

The Namespace URI, or the empty string if the name has no Namespace URI.

localName
String

The attribute's local name.

Returns

current flag value

Implements

Attributes

Exceptions

When the supplied names do not identify an attribute.

Remarks

Returns the current value of an attribute's "specified" flag.

Java documentation for org.xml.sax.ext.Attributes2Impl.isSpecified(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