Język

IXmlSerializerExtensions.AttributeAsync Method

Definition

Runs Attribute(String, String, String) on the thread pool.

public static System.Threading.Tasks.Task<Org.XmlPull.V1.IXmlSerializer?> AttributeAsync(this Org.XmlPull.V1.IXmlSerializer self, string? namespace, string? name, string? value);
static member AttributeAsync : Org.XmlPull.V1.IXmlSerializer * string * string * string -> System.Threading.Tasks.Task<Org.XmlPull.V1.IXmlSerializer>

Parameters

self
IXmlSerializer

The serializer with a start tag open for attributes.

namespace
String

The attribute namespace URI, or null or an empty string for an attribute without a namespace prefix.

name
String

The attribute name.

value
String

The attribute value to write.

Returns

A task whose result is the serializer returned by the synchronous attribute call.

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