PackageUtilities::CreateInstance Method (Type^)

 

Creates a co-createable COM object.

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

public:
static Object^ CreateInstance(
	Type^ cocreateableType
)

Parameters

cocreateableType
Type: System::Type^

The type.

Return Value

Type: System::Object^

The instantiated object, or null if unsuccessful.

Return to top
Show: