IVsDataObjectStringMapManager.UnadviseChanges Method
Removes the listener.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function UnadviseChanges ( _
dwCookie As UInteger _
) As Integer
int UnadviseChanges(
uint dwCookie
)
int UnadviseChanges(
[InAttribute] unsigned int dwCookie
)
abstract UnadviseChanges :
dwCookie:uint32 -> int
function UnadviseChanges(
dwCookie : uint
) : int
Parameters
dwCookie
Type: UInt32[in] An unsigned integer that identifies the listener to remove.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
You can get the dwCookie value from the call to AdviseChanges.
.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.