GlobalType.GetObjectType Method
Returns the type of this global type.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'Declaration
Protected Overridable Function GetObjectType As Type
protected virtual Type GetObjectType()
protected:
virtual Type^ GetObjectType()
abstract GetObjectType : unit -> Type
override GetObjectType : unit -> Type
protected function GetObjectType() : Type
Return Value
Type: System.Type
The Type of the GlobalType.
Remarks
The default implementation of the GetObjectType method simply returns the objectType parameter that was passed into the GlobalType constructor.
GetObjectType is called to initialize the ObjectType property when it is first accessed. Once retrieved the value is cached by ObjectType until the ClearObjectType method is called directly, or indirectly through another method such as PerformChange or PerformRemove.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.