DocData.FilesChanged 方法

向客户端发出一个或更多的文档已更改的通知。

命名空间:  Microsoft.VisualStudio.Modeling.Shell
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll 中)

语法

声明
Public Function FilesChanged ( _
    count As UInteger, _
    files As String(), _
    changes As UInteger() _
) As Integer
public int FilesChanged(
    uint count,
    string[] files,
    uint[] changes
)

参数

  • files
    类型:array<System.String[]
    已更改的文档的列表。
  • changes
    类型:array<System.UInt32[]
    每个文档的更新列表。

返回值

类型:System.Int32
S_OK如果该方法成功,则返回 S_OK,否则返回错误代码。

实现

IVsFileChangeEvents.FilesChanged(UInt32, array<String[], array<UInt32[])

备注

此方法实现 IVsFileChangeEvents 接口。

.NET Framework 安全性

请参阅

参考

DocData 类

Microsoft.VisualStudio.Modeling.Shell 命名空间