Freigeben über


IDocumentSite.ActivateObject(UInt32) Method

Definition

Activates the document object.

public:
 int ActivateObject(System::UInt32 dwFlags);
public:
 int ActivateObject(unsigned int dwFlags);
int ActivateObject(unsigned int dwFlags);
public int ActivateObject (uint dwFlags);
abstract member ActivateObject : uint32 -> int
Public Function ActivateObject (dwFlags As UInteger) As Integer

Parameters

dwFlags
UInt32

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

Returns

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

Remarks

COM Signature

From objext.idl:

HRESULT IDocumentSite::ActivateObject(ACTFLAG dwFlags);  

Applies to