IAttributeList.GetValue 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
GetValue(Int32) |
Obsolete.
Return the value of an attribute in the list (by position). |
GetValue(String) |
Obsolete.
Return the value of an attribute in the list (by name). |
GetValue(Int32)
Caution
deprecated
Return the value of an attribute in the list (by position).
[Android.Runtime.Register("getValue", "(I)Ljava/lang/String;", "GetGetValue_IHandler:Org.Xml.Sax.IAttributeListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public string? GetValue (int i);
[<Android.Runtime.Register("getValue", "(I)Ljava/lang/String;", "GetGetValue_IHandler:Org.Xml.Sax.IAttributeListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member GetValue : int -> string
Parameters
- i
- Int32
The index of the attribute in the list (starting at 0).
Returns
The attribute value as a string, or null if the index is out of range.
- Attributes
Remarks
Return the value of an attribute in the list (by position).
If the attribute value is a list of tokens (IDREFS, ENTITIES, or NMTOKENS), the tokens will be concatenated into a single string separated by whitespace.
Java documentation for org.xml.sax.AttributeList.getValue(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
GetValue(String)
Caution
deprecated
Return the value of an attribute in the list (by name).
[Android.Runtime.Register("getValue", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetValue_Ljava_lang_String_Handler:Org.Xml.Sax.IAttributeListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public string? GetValue (string? name);
[<Android.Runtime.Register("getValue", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetValue_Ljava_lang_String_Handler:Org.Xml.Sax.IAttributeListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member GetValue : string -> string
Parameters
- name
- String
the name of the attribute to return
Returns
The attribute value as a string, or null if no such attribute exists.
- Attributes
Remarks
Return the value of an attribute in the list (by name).
The return value is the same as the return value for getValue(int).
If the attribute name has a namespace prefix in the document, the application must include the prefix here.
Java documentation for org.xml.sax.AttributeList.getValue(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.