Share via


SourceControl2.CheckOutItems Method

Checks the specified items out of source control.

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

Syntax

'Declaration
Function CheckOutItems ( _
    ByRef ItemNames As Object() _
) As Boolean
bool CheckOutItems(
    ref Object[] ItemNames
)
bool CheckOutItems(
    [InAttribute] array<Object^>^% ItemNames
)
abstract CheckOutItems : 
        ItemNames:Object[] byref -> bool
function CheckOutItems(
    ItemNames : Object[]
) : 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