Aracılığıyla paylaş


XmlEntityReference.NodeName Property

Definition

Returns the qualified name for attribute, document type, element, entity, or notation nodes. Returns a fixed string for all other node types.

public:
 property Platform::String ^ NodeName { Platform::String ^ get(); };
winrt::hstring NodeName();
public string NodeName { get; }
var string = xmlEntityReference.nodeName;
Public ReadOnly Property NodeName As String

Property Value

String

Platform::String

winrt::hstring

The qualified node name, which varies depending on the node type.

Implements

Remarks

This value depends on the NodeType property. The following table describes this dependency.

NodeTypeNodeName
ElementtagName
Attributename of attribute
Text#text
CDATASection#cdata-section
EntityReferencename of entity referenced
Entityentity name
ProcessingInstructiontarget
Comment#comment
Document#document
DocumentTypedocument type name
DocumentFragment#document-fragment
Notationnotation name

Applies to