Export (0) Print
Expand All

XmlReader.Item Property

When overridden in a derived class, gets the value of the attribute.

[C#] In C#, this property is the indexer for the XmlReader class.

Overload List

When overridden in a derived class, gets the value of the attribute with the specified index.

[Visual Basic] Overloads Public MustOverride Default ReadOnly Property Item(Integer) As String
[C#] public abstract string this[int] {get;}
[C++] public: __property virtual String* get_Item(int) = 0;
[JScript] XmlReader.Item (int)

When overridden in a derived class, gets the value of the attribute with the specified Name.

[Visual Basic] Overloads Public MustOverride Default ReadOnly Property Item(String) As String
[C#] public abstract string this[string] {get;}
[C++] public: __property virtual String* get_Item(String*) = 0;
[JScript] XmlReader.Item (String)

When overridden in a derived class, gets the value of the attribute with the specified LocalName and NamespaceURI.

[Visual Basic] Overloads Public MustOverride Default ReadOnly Property Item(String, String) As String
[C#] public abstract string this[string, string] {get;}
[C++] public: __property virtual String* get_Item(String*, String*) = 0;
[JScript] XmlReader.Item (String, String)

Example

See the Item property in the XmlTextReader class for an example using this property.

See Also

XmlReader Class | XmlReader Members | System.Xml Namespace

Show:
© 2014 Microsoft