Share via


VsSyntheticTextLayerClass.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

'Declaration
Public Overridable Function Terminate As Integer
public virtual int Terminate()
public:
virtual int Terminate()
abstract Terminate : unit -> int  
override Terminate : unit -> int
public function Terminate() : int

Return Value

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

Implements

IVsSyntheticTextSession.Terminate()

.NET Framework Security

See Also

Reference

VsSyntheticTextLayerClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace