共用方式為


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

'宣告
Function Save As Integer
'用途
Dim instance As IVsGlobals2
Dim returnValue As Integer

returnValue = instance.Save()
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

IVsGlobals2 Members

Microsoft.VisualStudio.Shell.Interop Namespace