SourceControl.IsItemCheckedOut Method

Retrieves a Boolean value that indicates whether the specified item is checked out.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
Function IsItemCheckedOut ( _
    ItemName As String _
) As Boolean
bool IsItemCheckedOut(
    string ItemName
)
bool IsItemCheckedOut(
    [InAttribute] String^ ItemName
)
abstract IsItemCheckedOut : 
        ItemName:string -> bool
function IsItemCheckedOut(
    ItemName : String
) : boolean

Parameters

  • ItemName
    Type: System.String

    The name of the file to check for checked-out status.

Return Value

Type: System.Boolean
A Boolean value indicating true if the specified file is checked out; otherwise, false.

.NET Framework Security

See Also

Reference

SourceControl Interface

EnvDTE Namespace