共用方式為


IVersionControlService.QueryCommandStatusForUnboundFile Method

Namespace:  Microsoft.VisualStudio.TeamFoundation.VersionControl
Assembly:  Microsoft.VisualStudio.TeamFoundation.VersionControl (in Microsoft.VisualStudio.TeamFoundation.VersionControl.dll)

Syntax

'Declaration
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
)
int QueryCommandStatusForUnboundFile(
    [InAttribute] VersionControlOperationType operation, 
    [OutAttribute] bool% pHide, 
    [OutAttribute] bool% pEnable, 
    [OutAttribute] bool% pFallback
)
abstract QueryCommandStatusForUnboundFile : 
        operation:VersionControlOperationType * 
        pHide:bool byref * 
        pEnable:bool byref * 
        pFallback:bool byref -> int
function QueryCommandStatusForUnboundFile(
    operation : VersionControlOperationType, 
    pHide : boolean, 
    pEnable : boolean, 
    pFallback : boolean
) : int

Parameters

Return Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

IVersionControlService Interface

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace