次の方法で共有


IVsFileChangeEx Interface

Definition

Allows changes to be made to a file or directory.

public interface class IVsFileChangeEx
public interface class IVsFileChangeEx
__interface IVsFileChangeEx
[System.Runtime.InteropServices.Guid("9BC72973-194A-4EA8-B4D5-AFB0B0D0DCB1")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsFileChangeEx
[System.Runtime.InteropServices.Guid("9BC72973-194A-4EA8-B4D5-AFB0B0D0DCB1")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsFileChangeEx
[<System.Runtime.InteropServices.Guid("9BC72973-194A-4EA8-B4D5-AFB0B0D0DCB1")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsFileChangeEx = interface
[<System.Runtime.InteropServices.Guid("9BC72973-194A-4EA8-B4D5-AFB0B0D0DCB1")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsFileChangeEx = interface
Public Interface IVsFileChangeEx
Attributes

Remarks

This interface must be accessed on the main thread.

Notes to Callers

Called through the SVsFileChangeEx service. Call the IVsFileChangeEx interface when you want to listen to changes made to your files outside of your control.

Methods

AdviseDirChange(String, Int32, IVsFileChangeEvents, UInt32)

Enables a client to receive notifications of changes to a directory.

AdviseFileChange(String, UInt32, IVsFileChangeEvents, UInt32)

Enables a client to receive notifications of changes to a file.

IgnoreFile(UInt32, String, Int32)

Ignores changes to a file.

SyncFile(String)

Forces change events to be sent. Used in conjunction with IgnoreFile(UInt32, String, Int32) to make file changes but not receive notification.

UnadviseDirChange(UInt32)

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

UnadviseFileChange(UInt32)

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

Applies to