Share via


ModelingWindowPane.GetSelectedComponents Method

Gets the components that are selected in the window pane.

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

Syntax

'Declaration
Public Overridable Function GetSelectedComponents As ICollection
'Usage
Dim instance As ModelingWindowPane 
Dim returnValue As ICollection 

returnValue = instance.GetSelectedComponents()
public virtual ICollection GetSelectedComponents()
public:
virtual ICollection^ GetSelectedComponents()
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

ModelingWindowPane Members

Microsoft.VisualStudio.Modeling.Shell Namespace