AttributeListImpl.GetType 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
GetType(Int32) |
Obsolete.
Get the type of an attribute (by position). |
GetType(String) |
Obsolete.
Get the type of an attribute (by name). |
GetType(Int32)
Caution
deprecated
Get the type of an attribute (by position).
[Android.Runtime.Register("getType", "(I)Ljava/lang/String;", "GetGetType_IHandler")]
[System.Obsolete("deprecated")]
public virtual string? GetType (int i);
[<Android.Runtime.Register("getType", "(I)Ljava/lang/String;", "GetGetType_IHandler")>]
[<System.Obsolete("deprecated")>]
override this.GetType : int -> string
Parameters
- i
- Int32
The position of the attribute in the list.
Returns
The attribute type as a string ("NMTOKEN" for an enumeration, and "CDATA" if no declaration was read), or null if there is no attribute at that position.
Implements
- Attributes
Remarks
Get the type of an attribute (by position).
Java documentation for org.xml.sax.helpers.AttributeListImpl.getType(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.
See also
Applies to
GetType(String)
Caution
deprecated
Get the type of an attribute (by name).
[Android.Runtime.Register("getType", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetType_Ljava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual string? GetType (string? name);
[<Android.Runtime.Register("getType", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetType_Ljava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
override this.GetType : string -> string
Parameters
- name
- String
The attribute name.
Returns
The attribute type as a string ("NMTOKEN" for an enumeration, and "CDATA" if no declaration was read).
Implements
- Attributes
Remarks
Get the type of an attribute (by name).
Java documentation for org.xml.sax.helpers.AttributeListImpl.getType(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.