Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Unregisters an IVsLiteTreeEvents interface and thus removes an events listener from the list.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function UnadviseTreeEvents ( _
dwCookie As UInteger _
) As Integer
int UnadviseTreeEvents(
uint dwCookie
)
int UnadviseTreeEvents(
[InAttribute] unsigned int dwCookie
)
abstract UnadviseTreeEvents :
dwCookie:uint32 -> int
function UnadviseTreeEvents(
dwCookie : uint
) : int
Parameters
dwCookie
Type: System.UInt32[In] The cookie returned by AdviseTreeEvents.
Return Value
Type: System.Int32
If the method succeeds, it returns VSConstants.S_OK. If it fails, it returns an error code.
Remarks
COM Signature
[C++]
From vsshell.idl:
HRESULT IVsLiteTree::UnadviseTreeEvents(
[in] VSCOOKIE dwCookie
);
.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.