IVsBuildableProjectCfg.QueryStartUpToDateCheck 方法

确定项是可以检查当前生成是否是最新的。

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

语法

声明
Function QueryStartUpToDateCheck ( _
    dwOptions As UInteger, _
    <OutAttribute> pfSupported As Integer(), _
    <OutAttribute> pfReady As Integer() _
) As Integer
int QueryStartUpToDateCheck(
    uint dwOptions,
    int[] pfSupported,
    int[] pfReady
)

参数

  • dwOptions
    类型:System.UInt32
    [in] 管理最新的 CHECK 的选项。目前,未定义的选项卡,然后 dwOptions 始终为零。
  • pfSupported
    类型:array<System.Int32[]
    [out, optional] 为设置为 true 的标志的指针,如果项目支持检查当前生成是否是最新的。
  • pfReady
    类型:array<System.Int32[]
    [out, optional] 为设置为 true 的标志的指针,如果项目可以开始最新的检查。此标志当前不使用。

返回值

类型:System.Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

备注

COM 签名

从 vsshell.idl:

HRESULT IVsBuildableProjectCfg::QueryStartUpToDateCheck(
   [in] DWORD dwOptions,
   [out, optional] BOOL *pfSupported,
   [out, optional] BOOL *pfReady
);

.NET Framework 安全性

请参见

参考

IVsBuildableProjectCfg 接口

Microsoft.VisualStudio.Shell.Interop 命名空间