Share via


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

'Declaration
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

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.SelectionState

.NET Framework Security

See Also

Reference

SelectionContext Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace