ModelingWindowPane.GetSelectedComponents Method
Gets the components that are selected in the window pane.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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: ICollection
By default, this method returns a read-only array list based on SelectedElements.
Implements
ISelectionService.GetSelectedComponents
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.