This documentation is archived and is not being maintained.
Workspace::PendAdd Method (array<String>, Boolean, String, LockLevel)
Visual Studio 2013
Queues files or folders 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( array<String^>^ paths, bool isRecursive, String^ fileType, LockLevel lockLevel )
Parameters
- paths
- Type: array<System::String>
An array of paths that represent items that should be added.
- isRecursive
- Type: System::Boolean
True to recurse through subitems; otherwise, false.
- fileType
- Type: System::String
The file type for the new item. May be null.
- lockLevel
- Type: Microsoft.TeamFoundation.VersionControl.Client::LockLevel
The lock level to apply to each file added.
- 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.
Show: