PendingChange.ToServerItems Method

Gets an array of ServerItem path strings from an array of PendingChanges.

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

Syntax

'Declaration
Public Shared Function ToServerItems ( _
    pendingChanges As PendingChange() _
) As String()
'Usage
Dim pendingChanges As PendingChange()
Dim returnValue As String()

returnValue = PendingChange.ToServerItems(pendingChanges)
public static string[] ToServerItems(
    PendingChange[] pendingChanges
)
public:
static array<String^>^ ToServerItems(
    array<PendingChange^>^ pendingChanges
)
public static function ToServerItems(
    pendingChanges : PendingChange[]
) : String[]

Parameters

Return Value

Type: array<System.String[]
Returns a string array of server items.

Remarks

Skips any PendingChange where ServerItem is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

PendingChange Class

PendingChange Members

Microsoft.TeamFoundation.VersionControl.Client Namespace