IVsSyntheticTextSession.Terminate Method

Tells the session to sever its link, and drop its COM reference, to the client.

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

Syntax

'Déclaration
Function Terminate As Integer
'Utilisation
Dim instance As IVsSyntheticTextSession
Dim returnValue As Integer

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

Return Value

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsSyntheticTextSession::Terminate();

.NET Framework Security

See Also

Reference

IVsSyntheticTextSession Interface

IVsSyntheticTextSession Members

Microsoft.VisualStudio.TextManager.Interop Namespace