Share via


XmlEventArgs.OldParent Property (Microsoft.Office.InfoPath)

Gets an XPathNavigator object pointing to the node which is the parent of the node being deleted.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property OldParent As XPathNavigator
'Usage
Dim instance As XmlEventArgs
Dim value As XPathNavigator

value = instance.OldParent
public abstract XPathNavigator OldParent { get; }

Property Value

An XPathNavigator object for the parent of the deleted node.

Remarks

The value of the OldParent property is null unless the change that is occurring is a delete operation. When a delete operation was performed, the Operation property will return XmlOperation.Delete.

This member can be accessed without restrictions.

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

See Also

Reference

XmlEventArgs Class
XmlEventArgs Members
Microsoft.Office.InfoPath Namespace