Workspace.PendAdd Method (array<String )
Queues files or folders for addition to the repository.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public Function PendAdd ( _
paths As String() _
) As Integer
public int PendAdd(
string[] paths
)
public:
int PendAdd(
array<String^>^ paths
)
member PendAdd :
paths:string[] -> int
public function PendAdd(
paths : String[]
) : int
Parameters
- paths
Type: array<System.String[]
An array of paths representing items that should be added.
Return Value
Type: System.Int32
The number of files or folders queued for addition to the repository.
.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.