GlobalType Constructor (Type^)

 

Initializes a new instance of GlobalType.

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

protected:
GlobalType(
	Type^ objectType
)

Parameters

objectType
Type: System::Type^

The Type of the global type.

Exception Condition
ArgumentNullException

objectType is null.

The GlobalType constructor caches the value of the objectType parameter so that, on demand, it is checked and assigned to the ObjectType property.

The constructor is not public because global types are not meant to be created directly. Instead, as is done in the derived class GlobalObject, an Instance method should be supplied for this purpose.

Return to top
Show: