DocData.QuerySaveFile 方法 (String, tagVSQuerySaveFlags)

警报侦听器文件将被保存。

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

语法

声明
Public Overridable Function QuerySaveFile ( _
    fileName As String, _
    querySaveFlags As tagVSQuerySaveFlags _
) As QuerySaveResult
public virtual QuerySaveResult QuerySaveFile(
    string fileName,
    tagVSQuerySaveFlags querySaveFlags
)

参数

返回值

类型:Microsoft.VisualStudio.Modeling.Shell.QuerySaveResult
QuerySaveResult 对象。

备注

此方法调用 IVsQueryEditQuerySave2 接口。

此方法在文档执行一 QuerySaveFiles 调用。

此方法还可以查询附属文件。有关附属文件的更多信息,请参见 SubordinateFileHelper

.NET Framework 安全性

请参见

参考

DocData 类

QuerySaveFile 重载

Microsoft.VisualStudio.Modeling.Shell 命名空间