다음을 통해 공유


GlobalType.ClearObjectType Method

Clears the ObjectType property.

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

Syntax

‘선언
Protected Sub ClearObjectType
‘사용 방법

Me.ClearObjectType()
protected void ClearObjectType()
protected:
void ClearObjectType()
member ClearObjectType : unit -> unit 
protected function ClearObjectType()

Remarks

The ClearObjectType method clears the ObjectType property, forcing this property to call the GetObjectType method to reevaluate the type of the global object.

ClearObjectType is typically called during PerformChange and PerformRemove operations, but may be directly invoked when the type is being altered manually.

.NET Framework Security

See Also

Reference

GlobalType Class

GlobalType Members

Microsoft.VisualStudio.Shell.Design Namespace

ObjectType

PerformChange

PerformRemove