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!

DataDocumentNavigator.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

Name of the current node. The name returned depends on the NodeType of the current node.

XmlNodeType Property Value
Attribute Contains the name of the attribute.
CDATA Contains the literal string "#cdata-section".
Comment Contains the literal string "#comment".
Document Contains the literal string "#document".
DocumentType Contains the name of the document type; for example, xxx in <!DOCTYPE xxx ...>.
DocumentFragment Contains the literal string "#document-fragment".
Element Contains the name of the XML tag, with any namespace prefix included if present.
Entity Contains the name of the entity.
EntityReference Contains the name of the entity referenced. Note that the name does not include the leading ampersand or the trailing semicolon. The name includes the namespace if one is present.
Notation Contains the name of the notation.
ProcessingInstruction Contains the target; the first token following the <? characters.
Text Contains the literal string "#text".

String.Empty is returned if current node/record has no value to return.

See Also

DataDocumentNavigator Class | DataDocumentNavigator Members | System.NewXml Namespace