Partager via


PendingChange.ToServerItems Method

Gets an array of server item paths from an array of pending changes.

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

Syntax

'Déclaration
Public Shared Function ToServerItems ( _
    pendingChanges As PendingChange() _
) As String()
public static string[] ToServerItems(
    PendingChange[] pendingChanges
)
public:
static array<String^>^ ToServerItems(
    array<PendingChange^>^ pendingChanges
)
static member ToServerItems : 
        pendingChanges:PendingChange[] -> string[] 
public static function ToServerItems(
    pendingChanges : PendingChange[]
) : String[]

Parameters

Return Value

Type: array<System.String[]
An array of server item paths.

Remarks

Skips any PendingChanges where ServerItem is null.

.NET Framework Security

See Also

Reference

PendingChange Class

Microsoft.TeamFoundation.VersionControl.Client Namespace