Share via


IVsGlobals2.Save Method

Saves global solution values. Triggers a call to the WriteVariablesToData method of the IVsGlobalsCallback interface.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function Save As Integer
int Save()
int Save()
abstract Save : unit -> int
function Save() : int

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsGlobals2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace