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
- isSupported
Type: System.Boolean%
- isEnabled
Type: System.Boolean%
- isInvisible
Type: System.Boolean%
Return Value
Type: System.Int32
Returns Int32.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVersionControlProvider Interface
Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace