次の方法で共有


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
public interface IVsFileChangeEvents

Remarks

AVSPackage must call AdviseFileChange to receive IVsFileChangeEvents.

See illustrations of the implementation and/or calling of this interface in the Basic Edit and Figures Project samples.

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