次の方法で共有


IVsFileChangeEx.UnadviseDirChange(UInt32) Method

Definition

Disables a client from receiving notifications of changes to a directory.

public:
 int UnadviseDirChange(System::UInt32 VSCOOKIE);
public:
 int UnadviseDirChange(unsigned int VSCOOKIE);
int UnadviseDirChange(unsigned int VSCOOKIE);
public int UnadviseDirChange (uint VSCOOKIE);
abstract member UnadviseDirChange : uint32 -> int
Public Function UnadviseDirChange (VSCOOKIE As UInteger) As Integer

Parameters

VSCOOKIE
UInt32

[in] Unique identifier of the file with which the event sink should be disassociated. This is the same value that was provided in the AdviseDirChange(String, Int32, IVsFileChangeEvents, UInt32) Method.

Returns

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

Remarks

This method must be accessed on the main thread.

Applies to