共用方式為


IVersionControlService.QueryCommandStatusForUnboundFile 方法

命名空間:  Microsoft.VisualStudio.TeamFoundation.VersionControl
組件:  Microsoft.VisualStudio.TeamFoundation.VersionControl (在 Microsoft.VisualStudio.TeamFoundation.VersionControl.dll 中)

語法

'宣告
Function QueryCommandStatusForUnboundFile ( _
    operation As VersionControlOperationType, _
    <OutAttribute> ByRef pHide As Boolean, _
    <OutAttribute> ByRef pEnable As Boolean, _
    <OutAttribute> ByRef pFallback As Boolean _
) As Integer
int QueryCommandStatusForUnboundFile(
    VersionControlOperationType operation,
    out bool pHide,
    out bool pEnable,
    out bool pFallback
)

參數

傳回值

類型:System.Int32
傳回 Int32

.NET Framework 安全性

請參閱

參考

IVersionControlService 介面

Microsoft.VisualStudio.TeamFoundation.VersionControl 命名空間