次の方法で共有


IVsSolutionLoadManager.OnDisconnect Method

Called when VSPROPID_ActiveSolutionLoadManager is cleared.

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

Syntax

'宣言
Function OnDisconnect As Integer
'使用
Dim instance As IVsSolutionLoadManager
Dim returnValue As Integer

returnValue = instance.OnDisconnect()
int OnDisconnect()
int OnDisconnect()
abstract OnDisconnect : unit -> int 
function OnDisconnect() : int

Return Value

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

Remarks

Normally a disconnect happens only on shutdown or when another package calls SetProperty(VSPROPID_ActiveSolutionLoadManager) to take over as the active solution load manager.

.NET Framework Security

See Also

Reference

IVsSolutionLoadManager Interface

IVsSolutionLoadManager Members

Microsoft.VisualStudio.Shell.Interop Namespace