Autodesk Vault ProfessionalVault API

ICommandContext Interface

Autodesk.Connectivity.Explorer.ExtensibilityAutodesk.Connectivity.Explorer.Extensibility

Information about the command currently executing

Syntax

public interface ICommandContext 
Public Interface ICommandContext 

Properties

NameDescription
ApplicationGets interface to the application object
CurrentSelectionSetGets the collection of objects that make up the current Vault Explorer selection set
ForceRefreshSets the value indicating if a refresh operation should be performed when the command ends. By default, the UI is not updated as doing so could be time consuming.
GoToLocationSets the value indicating where Vault Explorer should navigate to when the command ends. By default, the location does not change.
NavSelectionSetGets the items which are selcted in the navigation view (treeview at the left)
PreviewSelectionSetGets the items which are selcted in the preview windows (bottom right pane)
ViewSelectionSetGets the items which are selected in the list view (top right pane)

Returned By

Where you get a ICommandContext — members that return one.

See Also