Compartilhar via


Workspace.PendAdd Method (String)

Queues files or a folder for addition to the repository.

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

Syntax

'Declaração
Public Function PendAdd ( _
    path As String _
) As Integer
public int PendAdd(
    string path
)
public:
int PendAdd(
    String^ path
)
member PendAdd : 
        path:string -> int 
public function PendAdd(
    path : String
) : int

Parameters

  • path
    Type: System.String
    A local path representing the items to be added.

Return Value

Type: System.Int32
The number of files or folders queued for addition.

.NET Framework Security

See Also

Reference

Workspace Class

PendAdd Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace