Workspace.PendEdit Method (String, RecursionType)
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
'宣告
Public Function PendEdit ( _
path As String, _
recursion As RecursionType _
) As Integer
public int PendEdit(
string path,
RecursionType recursion
)
public:
int PendEdit(
String^ path,
RecursionType recursion
)
member PendEdit :
path:string *
recursion:RecursionType -> int
public function PendEdit(
path : String,
recursion : RecursionType
) : int
Parameters
- path
Type: System.String
The path to the items to check out.
- recursion
Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType
The recursion level.
Return Value
Type: System.Int32
The number of files checked out.
.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.