GlobalObject::GetObject Method (Object^, Object^)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Creates a managed object from an unmanaged object by using either the moniker or the ProgID.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public:
[JSFunctionAttribute(JSFunctionAttributeEnum::None, JSBuiltin::Global_GetObject)]
[SecurityPermissionAttribute(SecurityAction::Demand, Flags = SecurityPermissionFlag::UnmanagedCode)]
static Object^ GetObject(
	Object^ moniker,
	Object^ progId
)

Parameters

moniker
Type: System::Object^

The moniker of the object.

progId
Type: System::Object^

The ProgID of the object.

Return Value

Type: System::Object^

The managed object.

.NET Framework
Available since 1.1
Return to top
Show: