共用方式為


IVsHiddenTextClient.OnBeforeSessionEnd Method

Called before the hidden text session is terminated.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣告
Sub OnBeforeSessionEnd
void OnBeforeSessionEnd()
void OnBeforeSessionEnd()
abstract OnBeforeSessionEnd : unit -> unit 
function OnBeforeSessionEnd()

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsHiddenTextClient::OnBeforeSessionEnd();

The hidden text session is terminated when the text buffer is closed down or when the hidden text session is no longer needed and is destroyed.

.NET Framework Security

See Also

Reference

IVsHiddenTextClient Interface

Microsoft.VisualStudio.TextManager.Interop Namespace