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
'Declaration
Function Unadvise ( _
vsCookie As UInteger _
) As Integer
int Unadvise(
uint vsCookie
)
int Unadvise(
[InAttribute] unsigned int vsCookie
)
abstract Unadvise :
vsCookie:uint32 -> int
function Unadvise(
vsCookie : uint
) : int
Parameters
vsCookie
Type: System.UInt32[in] The unique value that was returned from the Advise method.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.