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
- 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.
See Also
Reference
IVsContainedLanguageHost Interface