共用方式為


IVsFileChangeEvents Interface

Definition

Notifies clients when selected files have been changed on disk.

public interface class IVsFileChangeEvents
public interface class IVsFileChangeEvents
__interface IVsFileChangeEvents
[System.Runtime.InteropServices.Guid("F04C8816-7F77-450D-9527-14D0B93DA159")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsFileChangeEvents
[System.Runtime.InteropServices.Guid("F04C8816-7F77-450D-9527-14D0B93DA159")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsFileChangeEvents
[<System.Runtime.InteropServices.Guid("F04C8816-7F77-450D-9527-14D0B93DA159")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsFileChangeEvents = interface
[<System.Runtime.InteropServices.Guid("F04C8816-7F77-450D-9527-14D0B93DA159")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsFileChangeEvents = interface
Public Interface IVsFileChangeEvents
Derived
Attributes

Remarks

AVSPackage must call AdviseFileChange to receive IVsFileChangeEvents.

Notes to Implementers

Projects and editors are notified of changes to files by being clients of SVsFileChangeEx, and should implement IVsFileChangeEvents.

Methods

DirectoryChanged(String)

Notifies clients of changes made to a directory.

FilesChanged(UInt32, String[], UInt32[])

Notifies clients of changes made to one or more files.

Applies to