IDocumentSite::ActivateObject Method (UInt32)

 

Activates the document object.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int ActivateObject(
	unsigned int dwFlags
)

Parameters

dwFlags
Type: System::UInt32

[in] Bit flags using one of two values: ACT_DEFAULT to use the default activation; ACT_SHOW to display the object.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From objext.idl:

HRESULT IDocumentSite::ActivateObject(ACTFLAG dwFlags);
Return to top
Show: