Attributes2Impl.IsDeclared 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.
Overloads
IsDeclared(Int32) |
Returns false unless the attribute was declared in the DTD. |
IsDeclared(String) |
Returns false unless the attribute was declared in the DTD. |
IsDeclared(String, String) |
Returns false unless the attribute was declared in the DTD. |
IsDeclared(Int32)
Returns false unless the attribute was declared in the DTD.
[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
Implements
- Attributes
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 false unless the attribute was declared in the DTD.
[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
Implements
- Attributes
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 false unless the attribute was declared in the DTD.
[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
Implements
- Attributes
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.