Udostępnij za pośrednictwem


SVsFileChangeEx Interface

Passed to GetService to return a reference to IVsFileChangeEx.

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

Syntax

'Declaration
<GuidAttribute("9bc72973-194a-4ea8-b4d5-afb0b0d0dcb1")> _
<GuidAttribute("9bc72973-194a-4ea8-b4d5-afb0b0d0dcb1")> _
<ComVisibleAttribute(False)> _
Public Interface SVsFileChangeEx
'Usage
Dim instance As SVsFileChangeEx
[GuidAttribute("9bc72973-194a-4ea8-b4d5-afb0b0d0dcb1")]
[GuidAttribute("9bc72973-194a-4ea8-b4d5-afb0b0d0dcb1")]
[ComVisibleAttribute(false)]
public interface SVsFileChangeEx
[GuidAttribute(L"9bc72973-194a-4ea8-b4d5-afb0b0d0dcb1")]
[GuidAttribute(L"9bc72973-194a-4ea8-b4d5-afb0b0d0dcb1")]
[ComVisibleAttribute(false)]
public interface class SVsFileChangeEx
public interface SVsFileChangeEx

Remarks

This service enables arbitrary components to register to be notified when a file is modified outside of the Environment, such as what happens when using an external text editor such as Brief.

Note

The redirector on Win95 does not support file change notifications. This means that file change notifications are not supported when accessing files on a Win95 system over the network.

Note

Also, depending on the file system the granularity of the file timestamps can vary. For example, Windows FAT file system has a two-second timestamp granularity. To mitigate the problems of this granularity, the file change service also treats a change in the size of the file as an update to the file even if the timestamp has not changed.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace