Export (0) Print
Expand All

XmlEventArgs.OldParent property

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)

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

value = instance.OldParent

Property value

Type: System.Xml.XPath.XPathNavigator
An XPathNavigator object for the parent of the deleted node.

The value of the OldParent property is a null reference (Nothing in Visual Basic) 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 InfoPath Filler or in a Web browser.

Show:
© 2014 Microsoft