This topic has not yet been rated - Rate this topic

ModelingWindowPane.DoSelectObjects Method

When implemented in a derived class, selects elements 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)
protected virtual void DoSelectObjects(
	uint count,
	Object[] objects,
	uint flags
)

Parameters

count
Type: UInt32

The number of elements to select.

objects
Type: Object[]

The collection of elements to select.

flags
Type: UInt32

Flag that modifies the selection. If set to SELOBJS_ACTIVATEWINDOW, this parameter activates the window that contains the selected objects.

Derived classes should override this method to support selection with the SelectObjects method.

For instance, the drop-down box above the Visual Studio property browser and automation use this mechanism.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.