XmlNodeChangedEventArgs.NewValue Propriedade

Definição

Obtém o novo valor do nó.Gets the new value of the node.

public:
 property System::String ^ NewValue { System::String ^ get(); };
public string NewValue { get; }
public string? NewValue { get; }
member this.NewValue : string
Public ReadOnly Property NewValue As String

Valor da propriedade

String

O novo valor do nó.The new value of the node. Essa propriedade retornará null se o nó não for um atributo nem um nó de texto, ou se o nó estiver sendo removido.This property returns null if the node is neither an attribute nor a text node, or if the node is being removed.

Se for chamado em um NodeChanging evento, NewValue retornará o valor do nó se a alteração for bem-sucedida.If called in a NodeChanging event, NewValue returns the value of the node if the change is successful. Se chamado em um NodeChanged evento, NewValue retorna o valor atual do nó.If called in a NodeChanged event, NewValue returns the current value of the node.

Aplica-se a