次の方法で共有


IXmlSerializer.Attribute(String, String, String) Method

Definition

Write an attribute.

[Android.Runtime.Register("attribute", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/xmlpull/v1/XmlSerializer;", "GetAttribute_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler:Org.XmlPull.V1.IXmlSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.XmlPull.V1.IXmlSerializer? Attribute (string? namespace, string? name, string? value);
[<Android.Runtime.Register("attribute", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/xmlpull/v1/XmlSerializer;", "GetAttribute_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler:Org.XmlPull.V1.IXmlSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Attribute : string * string * string -> Org.XmlPull.V1.IXmlSerializer

Parameters

namespace
String
name
String
value
String

Returns

Attributes

Exceptions

Remarks

Write an attribute. Calls to attribute() MUST follow a call to startTag() immediately. If there is no prefix defined for the given namespace, a prefix will be defined automatically. If namespace is null or empty string no namespace prefix is printed but just name.

Java documentation for org.xmlpull.v1.XmlSerializer.attribute(java.lang.String, java.lang.String, 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.

Applies to