SelectionState.IsCommandToBeFilteredOut Method
True if the specified command should not be enabled for this selection state. The method is evaluated for the coerced selection.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
Public Overridable Function IsCommandToBeFilteredOut ( _
command As CommandID _
) As Boolean
public virtual bool IsCommandToBeFilteredOut(
CommandID command
)
public:
virtual bool IsCommandToBeFilteredOut(
CommandID^ command
)
abstract IsCommandToBeFilteredOut :
command:CommandID -> bool
override IsCommandToBeFilteredOut :
command:CommandID -> bool
public function IsCommandToBeFilteredOut(
command : CommandID
) : boolean
Parameters
- command
Type: System.ComponentModel.Design.CommandID
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.