IDocumentSite2.ActivateObject(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Implements
Remarks
COM Signature
From objext.idl:
[C++]
HRESULT IDocumentSite2::ActivateObject(ACTFLAG dwFlags);