Share via


SelectionState.IsCommandToBeFilteredOutForSingleSelection 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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Protected Overridable Function IsCommandToBeFilteredOutForSingleSelection ( _
    command As CommandID _
) As Boolean
protected virtual bool IsCommandToBeFilteredOutForSingleSelection(
    CommandID command
)
protected:
virtual bool IsCommandToBeFilteredOutForSingleSelection(
    CommandID^ command
)
abstract IsCommandToBeFilteredOutForSingleSelection : 
        command:CommandID -> bool  
override IsCommandToBeFilteredOutForSingleSelection : 
        command:CommandID -> bool
protected function IsCommandToBeFilteredOutForSingleSelection(
    command : CommandID
) : boolean

Parameters

  • command
    Type: CommandID

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

SelectionState Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace