Partager via


IVsFileChangeEx Interface

Allows changes to be made to a file or directory.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("9BC72973-194A-4EA8-B4D5-AFB0B0D0DCB1")> _
Public Interface IVsFileChangeEx
[InterfaceTypeAttribute()]
[GuidAttribute("9BC72973-194A-4EA8-B4D5-AFB0B0D0DCB1")]
public interface IVsFileChangeEx
[InterfaceTypeAttribute()]
[GuidAttribute(L"9BC72973-194A-4EA8-B4D5-AFB0B0D0DCB1")]
public interface class IVsFileChangeEx
[<InterfaceTypeAttribute()>]
[<GuidAttribute("9BC72973-194A-4EA8-B4D5-AFB0B0D0DCB1")>]
type IVsFileChangeEx =  interface end
public interface IVsFileChangeEx

The IVsFileChangeEx type exposes the following members.

Methods

  Name Description
Public method AdviseDirChange Enables a client to receive notifications of changes to a directory.
Public method AdviseFileChange Enables a client to receive notifications of changes to a file.
Public method IgnoreFile Ignores changes to a file.
Public method SyncFile Forces change events to be sent. Used in conjunction with IgnoreFile to make file changes but not receive notification.
Public method UnadviseDirChange Disables a client from receiving notifications of changes to a directory.
Public method UnadviseFileChange Disables a client from receiving notifications of changes to a file.

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace