Поделиться через


IVersionControlService.AddToEnlistment Method

Namespace:  Microsoft.VisualStudio.TeamFoundation.VersionControl
Assembly:  Microsoft.VisualStudio.TeamFoundation.VersionControl (in Microsoft.VisualStudio.TeamFoundation.VersionControl.dll)

Syntax

'Declaration
Function AddToEnlistment ( _
    itemsToAdd As String(), _
    count As Integer, _
    <OutAttribute> ByRef addedItems As String(), _
    <OutAttribute> ByRef numAdded As Integer _
) As Integer
int AddToEnlistment(
    string[] itemsToAdd,
    int count,
    out string[] addedItems,
    out int numAdded
)
int AddToEnlistment(
    [InAttribute] array<String^>^ itemsToAdd, 
    int count, 
    [OutAttribute] array<String^>^% addedItems, 
    [OutAttribute] int% numAdded
)
abstract AddToEnlistment : 
        itemsToAdd:string[] * 
        count:int * 
        addedItems:string[] byref * 
        numAdded:int byref -> int
function AddToEnlistment(
    itemsToAdd : String[], 
    count : int, 
    addedItems : String[], 
    numAdded : int
) : int

Parameters

Return Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

IVersionControlService Interface

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace