SourceControl2.CheckOutItems2 Method

Checks the specified items out of source control.

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

Syntax

'Declaration
Function CheckOutItems2 ( _
    ByRef ItemNames As Object(), _
    Flags As vsSourceControlCheckOutOptions _
) As Boolean
bool CheckOutItems2(
    ref Object[] ItemNames,
    vsSourceControlCheckOutOptions Flags
)
bool CheckOutItems2(
    [InAttribute] array<Object^>^% ItemNames, 
    [InAttribute] vsSourceControlCheckOutOptions Flags
)
abstract CheckOutItems2 : 
        ItemNames:Object[] byref * 
        Flags:vsSourceControlCheckOutOptions -> bool 
function CheckOutItems2(
    ItemNames : Object[], 
    Flags : vsSourceControlCheckOutOptions
) : boolean

Parameters

  • ItemNames
    Type: array<System.Object[]%
    An array of strings that identify the items to be checked out.

Return Value

Type: System.Boolean
true if the items were successfully checked out; otherwise, false.

Remarks

Checks out the project items that are under source control as specified in the SafeArray. This checks it out via the owning project and returns whether the checkout was successful.

.NET Framework Security

See Also

Reference

SourceControl2 Interface

EnvDTE80 Namespace