Share via


ActionType Enumeration (Microsoft.Office.InfoPath)

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.  
Cut Removes the selected data and copies it to the clipboard. 
Delete Deletes the selected data. 
Paste Copies data from the clipboard to the insertion point. 
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. 
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. 
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. 
XCollectionRefreshFilter Refreshes the filter for the selected Repeating Table or Repeating Section control using the xCollection editing component. 
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. 
XFileAttachmentAttach Opens the Attach File dialog box to specify the file to attach for the selected File Attachment control using the xFileAttachment editing component. 
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. 
XFileAttachmentRemove Removes the file attached to the selected File Attachment control using the xFileAttachment editing component. 
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. 
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. 

Remarks

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

See Also

Reference

Microsoft.Office.InfoPath Namespace