Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

Workspace.PendAdd Method (String, Boolean)

Queues files, folders, and subitems 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(
	string path,
	bool isRecursive
)

Parameters

path
Type: System.String

A local path that represents the items to be added.

isRecursive
Type: System.Boolean

True to recurse through subitems; otherwise, false.

Return Value

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

For more information about how to use this method, see Extending Version Control.

Show:
© 2015 Microsoft