DocActionEventObject interface

An event object that is used during a Microsoft InfoPath button click event.

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

Syntax

'Declaration
<GuidAttribute("096CD63A-0786-11D1-95FA-0080C78EE3BB")> _
Public Interface DocActionEventObject _
    Inherits DocActionEvent
'Usage
Dim instance As DocActionEventObject
[GuidAttribute("096CD63A-0786-11D1-95FA-0080C78EE3BB")]
public interface DocActionEventObject : DocActionEvent

Remarks

This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, seeDocActionEvent.

The DocActionEvent object provides a number of properties that can be used within a button click event to programmatically interact with the data in a form's underlying XML document and to control the success or failure of the event.

The DocActionEvent object is passed as a parameter to the OnClick event of a button that is contained in a view of an InfoPath form. Its properties are available only during the OnClick event.

See also

Reference

DocActionEventObject members

Microsoft.Office.Interop.InfoPath namespace