Delen via


IVersionControlProvider.QueryCommandStatus Method

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

Syntax

'Declaration
Function QueryCommandStatus ( _
    command As VersionControlCommand, _
    <OutAttribute> ByRef isSupported As Boolean, _
    <OutAttribute> ByRef isEnabled As Boolean, _
    <OutAttribute> ByRef isInvisible As Boolean _
) As Integer
int QueryCommandStatus(
    VersionControlCommand command,
    out bool isSupported,
    out bool isEnabled,
    out bool isInvisible
)
int QueryCommandStatus(
    [InAttribute] VersionControlCommand command, 
    [OutAttribute] bool% isSupported, 
    [OutAttribute] bool% isEnabled, 
    [OutAttribute] bool% isInvisible
)
abstract QueryCommandStatus : 
        command:VersionControlCommand * 
        isSupported:bool byref * 
        isEnabled:bool byref * 
        isInvisible:bool byref -> int
function QueryCommandStatus(
    command : VersionControlCommand, 
    isSupported : boolean, 
    isEnabled : boolean, 
    isInvisible : boolean
) : int

Parameters

Return Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

IVersionControlProvider Interface

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace