共用方式為


RunningDocumentTable.Unadvise Method

Indicates the client is no longer interested in receiving Running Document Table (RDT) events.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'宣告
<CLSCompliantAttribute(False)> _
Public Sub Unadvise ( _
    cookie As UInteger _
)
'用途
Dim instance As RunningDocumentTable
Dim cookie As UInteger

instance.Unadvise(cookie)
[CLSCompliantAttribute(false)]
public void Unadvise(
    uint cookie
)
[CLSCompliantAttribute(false)]
public:
void Unadvise(
    unsigned int cookie
)
[<CLSCompliantAttribute(false)>]
member Unadvise : 
        cookie:uint32 -> unit 
public function Unadvise(
    cookie : uint
)

Parameters

Remarks

This method is called when the client no longer wants to listen for RDT events. The cookie is the value that is associated with an IVsRunningDocTableEvents object and was returned from the Advise method.

.NET Framework Security

See Also

Reference

RunningDocumentTable Class

RunningDocumentTable Members

Microsoft.VisualStudio.Shell Namespace