SelectionContext.GetSelectionState Method
Iterates the known selection states, and returns the first that is applicable.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
Public Function GetSelectionState ( _
actualSelection As ICollection _
) As SelectionState
public SelectionState GetSelectionState(
ICollection actualSelection
)
public:
SelectionState^ GetSelectionState(
ICollection^ actualSelection
)
member GetSelectionState :
actualSelection:ICollection -> SelectionState
public function GetSelectionState(
actualSelection : ICollection
) : SelectionState
Parameters
- actualSelection
Type: System.Collections.ICollection
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.SelectionState
.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.