When implemented in a derived class, gets the globals object, which contains add-in values that may be saved in the solution file, the project file, or the user's profile data.
Namespace: Microsoft.VisualStudio.Package.Automation
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable ReadOnly Property Globals As Globals
'使用
Dim instance As OAProject
Dim value As Globals
value = instance.Globals
public virtual Globals Globals { get; }
public:
virtual property Globals^ Globals {
Globals^ get ();
}
public function get Globals () : Globals
Property Value
Type: Globals
Globals.
Implements
ProjectGlobals()
Remarks
By default returns a null reference (Nothing in Visual Basic).
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Package.Automation Namespace
Globals()