Compartilhar via


DelegatingXmlDictionaryReader.Item[] Property

Definition

Overloads

Item[Int32]

Gets the value of the InnerReaders's attribute with the specified index.

Item[String]

Gets the value of the InnerReaders's attribute with the specified Name.

Item[String, String]

Gets the value of the InnerReaders's attribute with the specified LocalName and NamespaceURI.

Item[Int32]

Gets the value of the InnerReaders's attribute with the specified index.

public override string this[int i] { get; }
member this.Item(int) : string
Default Public Overrides ReadOnly Property Item(i As Integer) As String

Parameters

i
Int32

index of the attribute.

Property Value

Attribute value at the specified index.

Applies to

Item[String]

Gets the value of the InnerReaders's attribute with the specified Name.

public override string this[string name] { get; }
member this.Item(string) : string
Default Public Overrides ReadOnly Property Item(name As String) As String

Parameters

name
String

The qualified name of the attribute.

Property Value

The value of the specified attribute. If the attribute is not found, null is returned.

Applies to

Item[String, String]

Gets the value of the InnerReaders's attribute with the specified LocalName and NamespaceURI.

public override string this[string name, string namespace] { get; }
member this.Item(string * string) : string
Default Public Overrides ReadOnly Property Item(name As String, namespace As String) As String

Parameters

name
String

The local name of the attribute.

namespace
String

The namespace URI of the attribute.

Property Value

The value of the specified attribute. If the attribute is not found, null is returned.

Applies to