This documentation is archived and is not being maintained.
Workspace::PendEdit Method (array<String>, RecursionType, String, LockLevel, Boolean, PendChangesOptions, array<String>, array<String>)
Visual Studio 2013
Checks out files for editing from the repository.
Note that fileSpec may have wildcard characters only in the last element of the path (e.g., c:\abc*z\def\xyz is not allowed, but c:\abc\def\*.cs is).
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public: int PendEdit( array<String^>^ paths, RecursionType recursion, String^ fileType, LockLevel lockLevel, bool silent, PendChangesOptions options, array<String^>^ itemAttributeFilters, array<String^>^ itemPropertyFilters )
Parameters
- paths
- Type: array<System::String>
A list of paths, local or server, to checkout for editing
- recursion
- Type: Microsoft.TeamFoundation.VersionControl.Client::RecursionType
recursion level
- fileType
- Type: System::String
if non-null, the new file type
- lockLevel
- Type: Microsoft.TeamFoundation.VersionControl.Client::LockLevel
the lock level to apply to each file checked out
- silent
- Type: System::Boolean
Specifies whether server should return get ops
- options
- Type: Microsoft.TeamFoundation.VersionControl.Common::PendChangesOptions
The set of PendChanges options. Some relevant flags for PendEdit are as follows: GetLatestOnCheckout: Pend an edit against the latest version of the item instead of the workspace version.
- itemAttributeFilters
- Type: array<System::String>
A list of versioned item properties to return with each get operation
- itemPropertyFilters
- Type: array<System::String>
A list of property filters.
- 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: