This documentation is archived and is not being maintained.

Workspace.PendEdit Method (String[], RecursionType)

Checks out files for editing from the version-control repository.

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

public int PendEdit(
	string[] paths,
	RecursionType recursion
)

Parameters

paths
Type: System.String[]

An array of paths of files to check out for editing.

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

A flag that indicates the type of recursion.

Return Value

Type: System.Int32
The number of files that were checked out.

Show: