IVsFileChangeEx.UnadviseDirChange Method

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

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


Function UnadviseDirChange ( _
    VSCOOKIE As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsFileChangeEx
Dim VSCOOKIE As UInteger
Dim returnValue As Integer

returnValue = instance.UnadviseDirChange(VSCOOKIE)
int UnadviseDirChange(
    uint VSCOOKIE
int UnadviseDirChange(
    [InAttribute] unsigned int VSCOOKIE
abstract UnadviseDirChange : 
        VSCOOKIE:uint32 -> int 
function UnadviseDirChange(
    VSCOOKIE : uint
) : int


    Type: System.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 Method.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.


COM Signature

From vsshell.idl:

HRESULT IVsFileChangeEx::UnadviseDirChange(
   [in] VSCOOKIE vsCookie

.NET Framework Security

See Also


IVsFileChangeEx Interface

IVsFileChangeEx Members

Microsoft.VisualStudio.Shell.Interop Namespace