GlobalType Constructor (Type^)
Visual Studio 2015
Initializes a new instance of GlobalType.
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
| 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.
Show: