Workspace.PendAdd Method (array<String[])

Queues files or folders for addition to the database.

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

Syntax

'Declaration
Public Function PendAdd ( _
    paths As String() _
) As Integer
'Usage
Dim instance As Workspace 
Dim paths As String()
Dim returnValue As Integer 

returnValue = instance.PendAdd(paths)
public int PendAdd(
    string[] paths
)
public:
int PendAdd(
    array<String^>^ paths
)
public function PendAdd(
    paths : String[]
) : int

Parameters

  • paths
    Type: array<System.String[]

    A list of paths that represent items that should be added. These paths can contain wildcard characters.

Return Value

Type: System.Int32
The number of files or folders queued for addition.

.NET Framework Security

See Also

Reference

Workspace Class

Workspace Members

PendAdd Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace