共用方式為


VsSyntheticTextLayerClass.Terminate Method

Definition

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

public:
 virtual int Terminate() = Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticTextSession::Terminate;
public:
 virtual int Terminate();
public:
 virtual int Terminate() = Microsoft::VisualStudio::TextManager::Interop::IVsSyntheticTextSession::Terminate;
 virtual int Terminate();
public virtual int Terminate ();
abstract member Terminate : unit -> int
override this.Terminate : unit -> int
Public Overridable Function Terminate () As Integer

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to