次の方法で共有


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

'宣言
Protected Overridable Function GetObjectType As Type
protected virtual Type GetObjectType()

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

See Also

Reference

GlobalType Class

Microsoft.VisualStudio.Shell.Design Namespace

GlobalType

ObjectType

ClearObjectType

PerformChange

PerformRemove