DocumentProperties::SelectObjects Method (UInt32, array<Object^>^, UInt32)

 

Called to manage the selection of multiple objects in the Properties window.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual int SelectObjects(
	unsigned int sel,
	array<Object^>^ selobj,
	unsigned int flags
)

Parameters

sel
Type: System::UInt32

[in] The number of objects in the selobj array.

selobj
Type: array<System::Object^>^

[in] An array of objects returned from the GetObjects method.

flags
Type: System::UInt32

[in] This is SELOBJS_ACTIVATE_WINDOW to select the objects in the array; otherwise, the objects are de-selected.

Return Value

Type: System::Int32

If successful, returns S_OK; otherwise, returns an error code.

This method is used in managing multiple objects in the Properties window. A language service typically needs only the one DocumentProperties object and the base method handles this automatically.

This method is an implementation of the SelectObjects method on the ISelectionContainer interface.

The base method does nothing and always returns a success code of S_OK.

Return to top
Show: