ModelingWindowPane.GetSelectedComponents Method

Gets a read-only collection of elements that are selected in the modeling window.

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

Syntax

'宣言
Public Overridable Function GetSelectedComponents As ICollection
'使用
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

A read-only collection of elements that are selected.

Implements

ISelectionService.GetSelectedComponents()

Permissions

See Also

Reference

ModelingWindowPane Class

ModelingWindowPane Members

Microsoft.VisualStudio.Modeling.Shell Namespace