This documentation is archived and is not being maintained.

Workspace::PendDelete Method (array<String>, RecursionType)

Queues files or folders for deletion from the version-control repository.

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

public:
int PendDelete(
	array<String^>^ paths, 
	RecursionType recursion
)

Parameters

paths
Type: array<System::String>

An array of local paths to the items to delete.

recursion
Type: Microsoft.TeamFoundation.VersionControl.Client::RecursionType

A flag that specifies the type of recursion.

Return Value

Type: System::Int32
The number of files or folders that are queued for deletion.

Show: