Delen via


Workspace.GetLocalVersions Method

Gets local item information about items in a workspace.

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

Syntax

'Declaration
Public Function GetLocalVersions ( _
    itemSpecs As ItemSpec(), _
    sortData As Boolean _
) As LocalVersion()()
public LocalVersion[][] GetLocalVersions(
    ItemSpec[] itemSpecs,
    bool sortData
)
public:
array<array<LocalVersion^>^>^ GetLocalVersions(
    array<ItemSpec^>^ itemSpecs, 
    bool sortData
)
member GetLocalVersions : 
        itemSpecs:ItemSpec[] * 
        sortData:bool -> LocalVersion[][] 
public function GetLocalVersions(
    itemSpecs : ItemSpec[], 
    sortData : boolean
) : LocalVersion[][]

Parameters

  • sortData
    Type: System.Boolean

    True to sort the returned data; false not to sort.

Return Value

Type: array<array<Microsoft.TeamFoundation.VersionControl.Client.LocalVersion[][]
An array of local version lists for each item.

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace