AttributesImpl.SetLocalName(Int32, String) 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.
Set the local name of a specific attribute.
[Android.Runtime.Register("setLocalName", "(ILjava/lang/String;)V", "GetSetLocalName_ILjava_lang_String_Handler")]
public virtual void SetLocalName (int index, string? localName);
[<Android.Runtime.Register("setLocalName", "(ILjava/lang/String;)V", "GetSetLocalName_ILjava_lang_String_Handler")>]
abstract member SetLocalName : int * string -> unit
override this.SetLocalName : int * string -> unit
Parameters
- index
- Int32
The index of the attribute (zero-based).
- localName
- String
The attribute's local name, or the empty string for none.
- Attributes
Exceptions
When the supplied index does not point to an attribute in the list.
Remarks
Set the local name of a specific attribute.
Java documentation for org.xml.sax.helpers.AttributesImpl.setLocalName(int, 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.