Share via


IVstaHostItem.GenerateGlobals Property

Gets a value that specifies whether to generate a Globals partial class that contains a static reference to the HostItem.

Namespace:  Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop
Assembly:  Microsoft.VisualStudio.Tools.Applications.ProgrammingModel (in Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.dll)

Syntax

'Declaration
Property GenerateGlobals As Boolean
'Usage
Dim instance As IVstaHostItem 
Dim value As Boolean 

value = instance.GenerateGlobals

instance.GenerateGlobals = value
bool GenerateGlobals { get; set; }
property bool GenerateGlobals {
    bool get ();
    void set (bool value);
}
function get GenerateGlobals () : boolean 
function set GenerateGlobals (value : boolean)

Property Value

Type: System.Boolean
true if a Globals partial class will be generated for the HostItem.

.NET Framework Security

See Also

Reference

IVstaHostItem Interface

IVstaHostItem Members

Microsoft.VisualStudio.Tools.Applications.ProgrammingModel.Interop Namespace