DelegatingXmlDictionaryReader.Item[] Property

Definition

Overloads

Item[Int32]

Gets the value of the attribute with the specified index.

Item[String]

Gets the value of the attribute with the specified name (as returned by the Name property from the wrapped reader).

Item[String, String]

Gets the value of the attribute with the specified local name and namespace URI (as returned by the LocalName property and the NamespaceURI property from the wrapped reader.

Item[Int32]

Gets the value of the attribute with the specified index.

public:
 virtual property System::String ^ default[int] { System::String ^ get(int i); };
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

The index of the attribute.

Property Value

String

The attribute value at the specified index.

Item[String]

Gets the value of the attribute with the specified name (as returned by the Name property from the wrapped reader).

public:
 virtual property System::String ^ default[System::String ^] { System::String ^ get(System::String ^ 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

String

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

Item[String, String]

Gets the value of the attribute with the specified local name and namespace URI (as returned by the LocalName property and the NamespaceURI property from the wrapped reader.

public:
 virtual property System::String ^ default[System::String ^, System::String ^] { System::String ^ get(System::String ^ name, System::String ^ namespaceURI); };
public override string this[string name, string namespaceURI] { get; }
member this.Item(string * string) : string
Default Public Overrides ReadOnly Property Item(name As String, namespaceURI As String) As String

Parameters

name
String

The local name of the attribute.

namespaceURI
String

The namespace URI of the attribute.

Property Value

String

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

Applies to