CreateObject Method
Collapse the table of content
Expand the table of content

ActCtx.CreateObject method

The CreateObject method of the Microsoft.Windows.ActCtx object creates an object in the context of the current manifest.

Syntax


ActCtx.CreateObject(
  objectId
)

Parameters

objectId

A string that specifies the type of object to create. For example, a COM ProgID.

Return value

This method does not return a value.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

DLL

Sxsoa.dll

IID

IID_IActCtx is defined as 8FA7728F-B69B-4EE5-99F2-E2AA021BEF28

See also

GetObject Method

 

 

Community Additions

ADD
Show:
© 2016 Microsoft