共用方式為


IVsFileChangeEvents Interface

Notifies clients when selected files have been changed on disk.

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

Syntax

'宣告
<GuidAttribute("F04C8816-7F77-450D-9527-14D0B93DA159")> _
<InterfaceTypeAttribute()> _
Public Interface IVsFileChangeEvents
'用途
Dim instance As IVsFileChangeEvents
[GuidAttribute("F04C8816-7F77-450D-9527-14D0B93DA159")]
[InterfaceTypeAttribute()]
public interface IVsFileChangeEvents
[GuidAttribute(L"F04C8816-7F77-450D-9527-14D0B93DA159")]
[InterfaceTypeAttribute()]
public interface class IVsFileChangeEvents
[<GuidAttribute("F04C8816-7F77-450D-9527-14D0B93DA159")>]
[<InterfaceTypeAttribute()>]
type IVsFileChangeEvents =  interface end
public interface IVsFileChangeEvents

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.

See Also

Reference

IVsFileChangeEvents Members

Microsoft.VisualStudio.Shell.Interop Namespace