XmlEventArgs.OldValue Property

Gets the original value of the node that is being changed.

Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property OldValue As String
    Get
'Usage
Dim instance As XmlEventArgs
Dim value As String

value = instance.OldValue
public abstract string OldValue { get; }

Property Value

Type: System.String
The original value of the node that is being changed.

Remarks

The OldValue property returns the original value of the node that will be replaced with a new value or deleted. To get the new value of the node, use the NewValue property.

This member can be accessed without restrictions.

This type or member can be accessed from code running in forms opened in Microsoft InfoPath Filler or in a Web browser.

See Also

Reference

XmlEventArgs Class

XmlEventArgs Members

Microsoft.Office.InfoPath Namespace