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
- 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.