共用方式為


IVsInvalidateCachedCommandState.InvalidateSpecificCommandUIState Method

Definition

public:
 void InvalidateSpecificCommandUIState(Microsoft::VisualStudio::Shell::Interop::VSCommandId command);
public void InvalidateSpecificCommandUIState (Microsoft.VisualStudio.Shell.Interop.VSCommandId command);
abstract member InvalidateSpecificCommandUIState : Microsoft.VisualStudio.Shell.Interop.VSCommandId -> unit
Public Sub InvalidateSpecificCommandUIState (command As VSCommandId)

Parameters

command
VSCommandId

Remarks

This method is safe to access from any thread.

Applies to