Compartilhar via


SourceControl.CheckOutItems Method

Checks the specified items out of source control.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.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
A Boolean value indicating true if the items were successfully checked out; otherwise, false.

Remarks

CheckOutItems 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

SourceControl Interface

EnvDTE Namespace