共用方式為


Workspace.PendEdit Method (String)

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 _
) As Integer
public int PendEdit(
    string path
)
public:
int PendEdit(
    String^ path
)
member PendEdit : 
        path:string -> int
public function PendEdit(
    path : String
) : int

Parameters

Return Value

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

Remarks

For more information about how to use this method, see Extending Version Control.

.NET Framework Security

See Also

Reference

Workspace Class

PendEdit Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace