共用方式為


SelectionState.IdentifyCommandsToBeFilteredOutForSingleSelection Method

Override to identify the commands which are not valid in a single selection scenario, for this selection state.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Protected Overridable Sub IdentifyCommandsToBeFilteredOutForSingleSelection ( _
    invalidCommands As CommandIdCollection _
)
protected virtual void IdentifyCommandsToBeFilteredOutForSingleSelection(
    CommandIdCollection invalidCommands
)
protected:
virtual void IdentifyCommandsToBeFilteredOutForSingleSelection(
    CommandIdCollection^ invalidCommands
)
abstract IdentifyCommandsToBeFilteredOutForSingleSelection : 
        invalidCommands:CommandIdCollection -> unit 
override IdentifyCommandsToBeFilteredOutForSingleSelection : 
        invalidCommands:CommandIdCollection -> unit 
protected function IdentifyCommandsToBeFilteredOutForSingleSelection(
    invalidCommands : CommandIdCollection
)

Parameters

.NET Framework Security

See Also

Reference

SelectionState Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace