TaskDialog.AddCommandLink(TaskDialogCommandLinkId, String)
Method
Description:
Adds a CommandLink associated to the given id, displaying the indicating main content.
Adds a CommandLink associated to the given id, displaying the indicating main content.
Remarks:
Parameter mainContent cannot contain newlines.
If the id has already been set to the task dialog, the new CommandLink definition overrides the old one.
CommandLinks will always be shown in the dialog in the order of their ids.
Parameters
Parameter | Type | Description |
---|---|---|
id | TaskDialogCommandLinkId | The id of the CommandLink. This corresponds to the value returned by Show() when the link is chosen by the user. |
mainContent | String | The main content of the CommandLink. |
Return Value