XmlNodeChangedEventArgs.NewValue Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Property Value
The new value of the node. This property returns null
if the node is neither an attribute nor a text node, or if the node is being removed.
If called in a NodeChanging event, NewValue
returns the value of the node if the change is successful. If called in a NodeChanged event, NewValue
returns the current value of the node.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.