Gets the command (verb) specifying the action to perform when the link is clicked.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public string Command { get; }
Visual Basic
Public ReadOnly Property Command As String
	Get

Remarks

The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs.

For more information about verbs and their availability, see Object Verbs. See Extending Shortcut Menus for further discussion of shortcut menus.

The following verbs are commonly used.

edit
exploreExplores the folder specified by FileName.
findInitiates a search starting from the specified directory.
openOpens the file specified by the FileName parameter. The file can be an executable file, a document file, or a folder.
printPrints the document file specified by FileName. If FileName is not a document file, the function will fail.
Empty stringFor systems prior to Microsoft? Windows? 2000, the default verb is used if it is valid and available in the registry. If not, the "open" verb is used. For Windows 2000 and later systems, the default verb is used if available. If not, the "open" verb is used. If neither verb is available, the system uses the first verb listed in the registry.

See Also