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
pendingChanges
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PendingChange[]PendingChange array from which to fetch local items.
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
- 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.