Workspace.PendAdd Method (String, Boolean)
Visual Studio 2013
Queues files or folders for addition to the version-control repository.
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
- Type: System.String
An array of paths that represent items that should 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.