Skip to main content

InsertMergeFieldCommand Members

Inserts the MERGEFIELD field at the selection.

Constructors

Name Description
InsertMergeFieldCommand(IRichEditControl, String) Initializes a new instance of the InsertMergeFieldCommand class with the specified owner and field argument.
InsertMergeFieldCommand(IRichEditControl) Initializes a new instance of the InsertMergeFieldCommand class with the specified owner.

Properties

Name Description
CommandSourceType Gets or sets the type of the object which invokes the command. Inherited from Command.
Description Gets the text description of a command. Inherited from Command.
DescriptionStringId Gets a string resource identifier of a command description.
FieldArgument Gets or sets the name of the data column providing data for the field.
HideDisabled Gets or sets whether the object to which the command is attached is hidden, if the command is disabled. Inherited from Command.
Id Gets the ID of the InsertMergeFieldCommand.
Image Gets an image associated with the command. Inherited from Command.
KeyTip Gets a key tip associated with the command. Inherited from Command.
LargeImage Gets a larger image associated with the command. Inherited from Command.
MenuCaption Gest the menu caption associated with the current command. Inherited from Command.
MenuCaptionStringId Gets a string resource identifier of a menu caption corresponding to InsertMergeFieldCommand.
ShowsModalDialog Indicates whether a command invokes a modal dialog when executing. Inherited from Command.
SupportsImage Inherited from Command.
SvgImage Inherited from Command.

Methods

Name Description
CanExecute() Determines whether the command can execute in its current state. Inherited from Command.
CreateDefaultCommandUIState() Creates an object representing the user interface state for the command.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Execute() Executes the command on the current command target. Inherited from Command.
ForceExecute(ICommandUIState) Executes the command specifying the UI state explicitly.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
UpdateUIState(ICommandUIState) Updates the command state. Inherited from Command.
See Also