Språk

Attributes2Impl.IsDeclared Method

Definition

Overloads

Name Description
IsDeclared(Int32)

Returns the current value of an attribute's declared flag.

IsDeclared(String)

Returns the current value of an attribute's declared flag.

IsDeclared(String, String)

Returns the current value of an attribute's declared flag.

IsDeclared(Int32)

Returns the current value of an attribute's declared flag.

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

Parameters

index
Int32

The attribute index (zero-based).

Returns

true if the attribute's declared flag is set; otherwise, false.

Implements

Attributes

Exceptions

The supplied index does not identify an attribute.

Remarks

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

IsDeclared(String)

Returns the current value of an attribute's declared flag.

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

Parameters

qName
String

The XML qualified (prefixed) name.

Returns

true if the attribute's declared flag is set; otherwise, false.

Implements

Attributes

Exceptions

The supplied name does not identify an attribute.

Remarks

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

IsDeclared(String, String)

Returns the current value of an attribute's declared flag.

[Android.Runtime.Register("isDeclared", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetIsDeclared_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual bool IsDeclared(string? uri, string? localName);
[<Android.Runtime.Register("isDeclared", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetIsDeclared_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member IsDeclared : string * string -> bool
override this.IsDeclared : 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

true if the attribute's declared flag is set; otherwise, false.

Implements

Attributes

Exceptions

The supplied names do not identify an attribute.

Remarks

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