XmlNodeChangedEventArgs.NewValue 屬性

定義

取得節點的新值。

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

屬性值

節點的新值。 當節點既非屬性也非文字節點,或該節點被移除時,此特性會回傳 null

若在事件中 NodeChanging 被呼叫,若變更成功, NewValue 則回傳該節點的值。 若在事件 NodeChanged 中呼叫,則 NewValue 回傳該節點的當前值。

適用於