Workspace.PendAdd Method (String, Boolean)
Visual Studio 2013
Queues files, folders, and subitems for addition to the version-control repository.
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
- Type: System.String
A local path that represents the items to be added.
- Type: System.Boolean
True to recurse through subitems; otherwise, false.
Return ValueType: System.Int32
The number of files or folders that were queued for addition.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.