ModelingWindowPane.SelectObjects Method
Selects elements 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
'Declaration
Public Function SelectObjects ( _
count As UInteger, _
objects As Object(), _
flags As UInteger _
) As Integer
public int SelectObjects(
uint count,
Object[] objects,
uint flags
)
public:
virtual int SelectObjects(
unsigned int count,
array<Object^>^ objects,
unsigned int flags
) sealed
abstract SelectObjects :
count:uint32 *
objects:Object[] *
flags:uint32 -> int
override SelectObjects :
count:uint32 *
objects:Object[] *
flags:uint32 -> int
public final function SelectObjects(
count : uint,
objects : Object[],
flags : uint
) : int
Parameters
- count
Type: System.UInt32
The number of elements to select.
- objects
Type: array<System.Object[]
The collection of elements to select.
- flags
Type: System.UInt32
The flag to use to modify the selection. If set to SELOBJS_ACTIVATEWINDOW, this parameter activates the window with the selected objects.
Return Value
Type: System.Int32
If elements that can be selected are found, S_OK; otherwise, E_UNEXPECTED.
Implements
ISelectionContainer.SelectObjects(UInt32, array<Object[], UInt32)
Remarks
The selection does not include non-shape elements. This method is part of the implementation of ISelectionContainer.
.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.