Udostępnij za pośrednictwem


DTE2.Globals Property

Gets the Globals object that contains Add-in values that may be saved in the solution (.sln) file, the project file, or in the user's profile data.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Syntax

'Declaration
ReadOnly Property Globals As Globals
'Usage
Dim instance As DTE2 
Dim value As Globals 

value = instance.Globals
Globals Globals { get; }
property Globals^ Globals {
    Globals^ get ();
}
function get Globals () : Globals

Property Value

Type: EnvDTE.Globals
A Globals object.

Implements

_DTE.Globals

Remarks

The Add-ins are available when the solution, project file, and so on is loaded.

Solution globals do not apply exclusively to Add-ins. They can also apply by macros or any other automation client.

.NET Framework Security

See Also

Reference

DTE2 Interface

DTE2 Members

Globals Overload

EnvDTE80 Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples