XmlEventArgs.Operation 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 an XmlOperation enumeration that indicates the type of operation that occurred when the node was changed.
public:
abstract property Microsoft::Office::InfoPath::XmlOperation Operation { Microsoft::Office::InfoPath::XmlOperation get(); };
public abstract Microsoft.Office.InfoPath.XmlOperation Operation { get; }
member this.Operation : Microsoft.Office.InfoPath.XmlOperation
Public MustOverride ReadOnly Property Operation As XmlOperation
Property Value
An XmlOperation enumeration for the operation that has occurred.
Remarks
The XmlOperation enumeration values that the Operation property returns are: XmlOperation.Insert, XmlOperation.ValueChange, and XmlOperation.Delete. Which operations can occur depends on the structure of the control to which the handler for the Changed event is bound. For example, for a Text Box control, the node that the control is bound to can never be inserted or deleted, so only the XmlOperation.ValueChange operation can occur. Whereas, for a repeating control, such as a Repeating Table control, in addition to XmlOperation.ValueChange operations that can occur in the fields in the table's columns, entire groups (rows) can be inserted and deleted, which cause the Operation property to return the corresponding XmlOperation.Insert and XmlOperation.Delete enumeration values.
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.