NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlTextReader.Name

Gets the name of the current node, including the namespace prefix.

[Visual Basic]
Overridable Public ReadOnly Property Name As String
[C#]
public string Name {override get;}
[C++]
public: __property virtual String* get_Name();
[JScript]
public function get Name() : String;

Property Value

The qualified name of the current node. This means Name includes the namespace prefix. For example, Name is xxx:yyy for the element <xxx:yyy>.

The name returned is dependent on the NodeType of the node:

Type Name
Attribute name of attribute
CDATA #cdata-section
Comment #comment
Document #document
DocumentFragment #document-fragment
DocumentType document type name
Element tag name
Entity entity name
EntityReference name of entity referenced
Notation notation name
ProcessingInstruction target
Text #text

See Also

XmlTextReader Class | XmlTextReader Members | System.NewXml Namespace