Export (0) Print
Expand All

DocumentProperties.SelectObjects Method

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

This method is not CLS-compliant.  

Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in microsoft.visualstudio.package.languageservice.dll)

public virtual int SelectObjects (
	uint sel,
	Object[] selobj,
	uint flags
)
public int SelectObjects (
	UInt32 sel, 
	Object[] selobj, 
	UInt32 flags
)
public function SelectObjects (
	sel : uint, 
	selobj : Object[], 
	flags : uint
) : int

Parameters

sel

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

selobj

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

flags

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

Return Value

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.

Community Additions

ADD
Show:
© 2015 Microsoft