Share via


XmlText.NodeValue Propiedad

Definición

Obtiene o establece el texto asociado 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 = xmlText.nodeValue;
xmlText.nodeValue = object;
Public Property NodeValue As Object

Valor de propiedad

Object

Platform::Object

IInspectable

Texto asociado al nodo.

Implementaciones

Comentarios

Este valor depende de la propiedad NodeType . En la tabla siguiente se describe esta dependencia.

NodeTypeNodeValue
ElementoNull
AtributoValor del atributo
TextoContenido del nodo de texto
CDATASectionContenido de la sección CDATA
EntityReferenceNULL
EntidadNULL
ProcessingInstructionTodo el contenido excepto el destino
ComentarioContenido del comentario
DocumentoNULL
DocumentTypeNULL
DocumentFragmentNULL
NotaciónNULL

Se aplica a