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
- itemsToAdd
Type: array<System.String[]
- count
Type: System.Int32
- addedItems
Type: array<System.String[]%
- numAdded
Type: System.Int32%
Return Value
Type: System.Int32
Returns Int32.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVersionControlService Interface
Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace