XmlDocument.NodeValue Proprietà

Definizione

Ottiene o imposta il testo associato al nodo.

public:
 property Platform::Object ^ NodeValue { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable NodeValue();

void NodeValue(IInspectable value);
public object NodeValue { get; set; }
var object = xmlDocument.nodeValue;
xmlDocument.nodeValue = object;
Public Property NodeValue As Object

Valore della proprietà

Object

Platform::Object

IInspectable

Testo associato al nodo.

Implementazioni

Commenti

Questo valore dipende dalla proprietà NodeType . La tabella seguente descrive questa dipendenza.

Tipo di nodoNodeValue
ElementoNull
AttributoValore dell'attributo
TestoContenuto del nodo di testo
CDATASectionContenuto della sezione CDATA
EntityReferenceNULL
EntitàNULL
ProcessingInstructionContenuto intero escluso la destinazione
CommentoContenuto del commento
DocumentoNULL
DocumentTypeNULL
DocumentFragmentNULL
NotationNULL

Si applica a