共用方式為


Workspace.PendEdit Method (array<String , RecursionType, String, LockLevel)

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 ( _
    paths As String(), _
    recursion As RecursionType, _
    fileType As String, _
    lockLevel As LockLevel _
) As Integer
public int PendEdit(
    string[] paths,
    RecursionType recursion,
    string fileType,
    LockLevel lockLevel
)
public:
int PendEdit(
    array<String^>^ paths, 
    RecursionType recursion, 
    String^ fileType, 
    LockLevel lockLevel
)
member PendEdit : 
        paths:string[] * 
        recursion:RecursionType * 
        fileType:string * 
        lockLevel:LockLevel -> int 
public function PendEdit(
    paths : String[], 
    recursion : RecursionType, 
    fileType : String, 
    lockLevel : LockLevel
) : int

Parameters

  • paths
    Type: array<System.String[]
    An array of paths to checkout for editing.

Return Value

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

.NET Framework Security

See Also

Reference

Workspace Class

PendEdit Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace