共用方式為


Workspace.PendEdit Method (String, RecursionType)

Checks out files for editing from the version-control repository.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
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

Return Value

Type: System.Int32
The number of files that were checked out.

.NET Framework Security

See Also

Reference

Workspace Class

PendEdit Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace