Partager via


ActionType Enumeration

Specifies the editing command to be performed by the ExecuteAction method.

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

Syntax

'Declaration
Public Enumeration ActionType
'Usage
Dim instance As ActionType
public enum ActionType

Members

Member name Description
Copy Copies the selected data to the clipboard.
Paste Copies data from the clipboard to the insertion point.
Cut Removes the selected data and copies it to the clipboard.
Delete Deletes the selected data.
XCollectionInsert Inserts data based on the selected context using the xCollection editing component. If current selection is within a container of the xCollection, specified by its xmlToEdit element in the .xsf, then the fragmentToInsert element data is appended within that container.
XCollectionInsertBefore Inserts data before the selected context using the xCollection editing component. If current selection is within an item of the xCollection, as specified by its xmlToEdit element in the .xsf, then the fragmentToInsert element data is inserted before that item.
XCollectionInsertAfter Inserts data after the selected context using the xCollection editing component. If current selection is within an item of the xCollection, as specified by its xmlToEdit element in the .xsf, then the fragmentToInsert element data is inserted after that item.
XCollectionRemove Deletes data from the selected context using the xCollection editing component. If current selection is within an item of the xCollection, as specified by its xmlToEdit element in the .xsf, then that item is deleted.
XCollectionRemoveAll Deletes all data contained within the selected context using the xCollection editing component. If current selection is within a container of the xCollection, as specified by the xmlToEdit element in the .xsf, then this action deletes all the items within that container.
XCollectionRefreshFilter Refreshes the filter for the selected Repeating Table or Repeating Section control using the xCollection editing component.
XOptionalInsert Inserts data based on the selected context using the xOptional editing component. If current selection is within a container of the xOptional, as specified by its xmlToEdit element in the .xsf, then the fragmentToInsert element data is appended within that container.
XOptionalRemove Deletes data from the selected context using the xOptional editing component. If current selection is within an item of the xOptional, as specified by its xmlToEdit element in the .xsf, then that item is deleted.
XReplaceReplace Replaces the data in the selected context using the xReplace editing component. If current selection is within an item of the xReplace, as specified by its xmlToEdit element in the .xsf, then that item is replaced by the fragmentToInsert element data.
XFileAttachmentOpen Opens the file attached to the selected File Attachment control using the xFileAttachment editing component. The form template must be configured as Full Trust for this editing command to succeed.
XFileAttachmentSaveAs Opens the Save As dialog box to specify where to save the file attached to the selected File Attachment control using the xFileAttachment editing component.
XFileAttachmentRemove Removes the file attached to the selected File Attachment control using the xFileAttachment editing component.
XFileAttachmentAttach Opens the Attach File dialog box to specify the file to attach for the selected File Attachment control using the xFileAttachment editing component.

Remarks

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

See Also

Reference

Microsoft.Office.InfoPath Namespace