共用方式為


IVsContainedLanguageHost.Unadvise Method

Called by a client that is no longer interested in receiving notifications from the editor.

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

Syntax

'宣告
Function Unadvise ( _
    vsCookie As UInteger _
) As Integer
'用途
Dim instance As IVsContainedLanguageHost
Dim vsCookie As UInteger
Dim returnValue As Integer

returnValue = instance.Unadvise(vsCookie)
int Unadvise(
    uint vsCookie
)
int Unadvise(
    [InAttribute] unsigned int vsCookie
)
abstract Unadvise : 
        vsCookie:uint32 -> int 
function Unadvise(
    vsCookie : uint
) : int

Parameters

Return Value

Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

HRESULT Unadvise(
   [in] VSCOOKIE vsCookie
);

.NET Framework Security

See Also

Reference

IVsContainedLanguageHost Interface

IVsContainedLanguageHost Members

Microsoft.VisualStudio.TextManager.Interop Namespace