SourceControl2.CheckOutItem2 Method

Checks the specified item out of source control.

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

Syntax

'Declaration
Function CheckOutItem2 ( _
    ItemName As String, _
    Flags As vsSourceControlCheckOutOptions _
) As Boolean
bool CheckOutItem2(
    string ItemName,
    vsSourceControlCheckOutOptions Flags
)
bool CheckOutItem2(
    [InAttribute] String^ ItemName, 
    [InAttribute] vsSourceControlCheckOutOptions Flags
)
abstract CheckOutItem2 : 
        ItemName:string * 
        Flags:vsSourceControlCheckOutOptions -> bool 
function CheckOutItem2(
    ItemName : String, 
    Flags : vsSourceControlCheckOutOptions
) : boolean

Parameters

  • ItemName
    Type: System.String
    The full pathname to the file to check out.

Return Value

Type: System.Boolean
true if the item was successfully checked out; otherwise, False.

.NET Framework Security

See Also

Reference

SourceControl2 Interface

EnvDTE80 Namespace