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)

public enum ActionType

Member nameDescription
CopyCopies the selected data to the clipboard.
PasteCopies data from the clipboard to the insertion point.
CutRemoves the selected data and copies it to the clipboard.
DeleteDeletes the selected data.
XCollectionInsertInserts 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.
XCollectionInsertBeforeInserts 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.
XCollectionInsertAfterInserts 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.
XCollectionRemoveDeletes 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.
XCollectionRemoveAllDeletes 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.
XCollectionRefreshFilterRefreshes the filter for the selected Repeating Table or Repeating Section control using the xCollection editing component.
XOptionalInsertInserts 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.
XOptionalRemoveDeletes 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.
XReplaceReplaceReplaces 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.
XFileAttachmentOpenOpens 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.
XFileAttachmentSaveAsOpens the Save As dialog box to specify where to save the file attached to the selected File Attachment control using the xFileAttachment editing component.
XFileAttachmentRemoveRemoves the file attached to the selected File Attachment control using the xFileAttachment editing component.
XFileAttachmentAttachOpens the Attach File dialog box to specify the file to attach for the selected File Attachment control using the xFileAttachment editing component.

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

Show:
© 2014 Microsoft