This documentation is archived and is not being maintained.

Workspace::PendAdd Method (array<String>)

Queues files or folders for addition to the version-control repository.

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

public:
int PendAdd(
	array<String^>^ paths
)

Parameters

paths
Type: array<System::String>

An array of paths that represent items that should be added.

Return Value

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

Show: