SelectionContext.GetSelectionState(ICollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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