Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Checks out files for editing from the repository.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function PendEdit ( _
paths As String(), _
recursion As RecursionType, _
fileType As String, _
lockLevel As LockLevel, _
silent As Boolean, _
options As PendChangesOptions, _
propertyNameFilters As String() _
) As Integer
public int PendEdit(
string[] paths,
RecursionType recursion,
string fileType,
LockLevel lockLevel,
bool silent,
PendChangesOptions options,
string[] propertyNameFilters
)
public:
int PendEdit(
array<String^>^ paths,
RecursionType recursion,
String^ fileType,
LockLevel lockLevel,
bool silent,
PendChangesOptions options,
array<String^>^ propertyNameFilters
)
member PendEdit :
paths:string[] *
recursion:RecursionType *
fileType:string *
lockLevel:LockLevel *
silent:bool *
options:PendChangesOptions *
propertyNameFilters:string[] -> int
public function PendEdit(
paths : String[],
recursion : RecursionType,
fileType : String,
lockLevel : LockLevel,
silent : boolean,
options : PendChangesOptions,
propertyNameFilters : String[]
) : int
Parameters
- paths
Type: array<System.String[]
An array of paths to checkout for editing.
- recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType
A flag specifying the type of recursion.
- fileType
Type: System.String
The new file type. May be null.
- 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 operations.
- options
Type: Microsoft.TeamFoundation.VersionControl.Common.PendChangesOptions
The set of PendChanges options.
- propertyNameFilters
Type: array<System.String[]
An array of property name filters.
Return Value
Type: System.Int32
The number of files checked out.
Remarks
Some relevant flags for options are:
GetLatestOnCheckout: Pend an edit against the latest version of the item instead of the workspace version.
.NET Framework Security
- 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.