This documentation is archived and is not being maintained.
Workspace::PendAdd Method (array<String>, Boolean, String, LockLevel, Boolean, Boolean, Boolean)
Visual Studio 2013
Queues files or folders for addition to the repository. This method can recurse through the specified path to queue subitems in addition to the items matched by the specified path.
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, bool treatMissingItemsAsFiles, bool silent, bool applyLocalItemExclusions )
Parameters
- paths
- Type: array<System::String>
A list of paths representing items that should be added.
- isRecursive
- Type: System::Boolean
A Boolean value indicating whether to recurse
- fileType
- Type: System::String
if non-null, the file type for the new item
- lockLevel
- Type: Microsoft.TeamFoundation.VersionControl.Client::LockLevel
the lock level to apply to each file added
- treatMissingItemsAsFiles
- Type: System::Boolean
whether items missing on disk should be assumed to be files
- silent
- Type: System::Boolean
Specifies whether server should return get ops
- applyLocalItemExclusions
- Type: System::Boolean
If true, applies the local item exclusion lists for items found by searching in a directory or matching a wildcard.
- 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: