Share via


SourceControl2.IsItemCheckedOut Method

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

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.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
true if the specified file is checked out; otherwise, false.

.NET Framework Security

See Also

Reference

SourceControl2 Interface

EnvDTE80 Namespace