次の方法で共有


SelectionContext.GetSelectionState(ICollection) Method

Definition

Iterates the known selection states, and returns the first that is applicable.

public:
 Microsoft::VisualStudio::Modeling::Diagrams::SelectionState ^ GetSelectionState(System::Collections::ICollection ^ actualSelection);
public Microsoft.VisualStudio.Modeling.Diagrams.SelectionState GetSelectionState (System.Collections.ICollection actualSelection);
member this.GetSelectionState : System.Collections.ICollection -> Microsoft.VisualStudio.Modeling.Diagrams.SelectionState
Public Function GetSelectionState (actualSelection As ICollection) As SelectionState

Parameters

actualSelection
ICollection

Returns

the first selection state that is appliable to the specified selection

Applies to