VsSyntheticTextLayerClass.UnadviseClient 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 UnadviseClient As Integer
public virtual int UnadviseClient()
public:
virtual int UnadviseClient()
abstract UnadviseClient : unit -> int  
override UnadviseClient : unit -> int
public function UnadviseClient() : int

Return Value

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

Implements

IVsSyntheticTextSession.UnadviseClient()

.NET Framework Security

See Also

Reference

VsSyntheticTextLayerClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace