This topic has not yet been rated - Rate this topic

GlobalType.ObjectType Property

Gets the checked type of the GlobalType.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
public Type ObjectType { get; }

Property Value

Type: System.Type
The Type of the GlobalType.
ExceptionCondition
InvalidOperationException

The global object's type resolved to null.

The ObjectType property calls the GetObjectType method to resolve the type of the current GlobalType. This call occurs during the first access of the property, and the value is cached until the global type is reset by a call to the ClearObjectType, PerformChange, or PerformRemove methods.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.