ModelingWindowPane.GetSelectedComponents Method
Gets the components that are selected in the window pane.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
声明
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
- 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.