Taal

XmlReaderPullParser.GetAttributeValue Method

Definition

Overloads

Name Description
GetAttributeValue(Int32)

Gets the indexed attribute's value from the reader.

GetAttributeValue(String, String)

Gets an attribute value by local name and namespace URI.

GetAttributeValue(Int32)

Gets the indexed attribute's value from the reader.

public string GetAttributeValue(int index);
abstract member GetAttributeValue : int -> string
override this.GetAttributeValue : int -> string

Parameters

index
Int32

The attribute index.

Returns

The attribute value.

Implements

Applies to

GetAttributeValue(String, String)

Gets an attribute value by local name and namespace URI.

public string? GetAttributeValue(string? namespaceURI, string? name);
abstract member GetAttributeValue : string * string -> string
override this.GetAttributeValue : string * string -> string

Parameters

namespaceURI
String

The namespace URI to pass to the reader.

name
String

The attribute's local name, or null.

Returns

The value returned by the reader, or null when name is null.

Implements

Applies to