ModelingWindowPane.GetSelectedComponents Method

Gets the components that are selected in the window pane.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Public Overridable Function GetSelectedComponents As ICollection
public virtual ICollection GetSelectedComponents()
public:
virtual ICollection^ GetSelectedComponents()
abstract GetSelectedComponents : unit -> ICollection  
override GetSelectedComponents : unit -> ICollection
public function GetSelectedComponents() : ICollection

Return Value

Type: System.Collections.ICollection
By default, this method returns a read-only array list based on SelectedElements.

Implements

ISelectionService.GetSelectedComponents()

.NET Framework Security

See Also

Reference

ModelingWindowPane Class

Microsoft.VisualStudio.Modeling.Shell Namespace