次の方法で共有


IVsRunningDocumentTable.UnadviseRunningDocTableEvents Method

Disables the client from receiving notifications of changes to the RDT.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣言
Function UnadviseRunningDocTableEvents ( _
    dwCookie As UInteger _
) As Integer
'使用
Dim instance As IVsRunningDocumentTable
Dim dwCookie As UInteger
Dim returnValue As Integer

returnValue = instance.UnadviseRunningDocTableEvents(dwCookie)
int UnadviseRunningDocTableEvents(
    uint dwCookie
)
int UnadviseRunningDocTableEvents(
    [InAttribute] unsigned int dwCookie
)
function UnadviseRunningDocTableEvents(
    dwCookie : uint
) : int

Parameters

  • dwCookie
    Type: System.UInt32

    [in] Abstract value that identifies the client that is to be disabled from receiving RDT events. See Remarks.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsRunningDocumentTable::UnadviseRunningDocTableEvents(
   [in] VSCOOKIE dwCookie
);

The dwCookie parameter is the same cookie returned by the call to the AdviseRunningDocTableEvents method.

Permissions

See Also

Reference

IVsRunningDocumentTable Interface

IVsRunningDocumentTable Members

Microsoft.VisualStudio.Shell.Interop Namespace