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
itemSpecs
Type: array<Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]The specifiers for each item, which may be on the server or a local computer.
sortData
Type: System.BooleanTrue 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
- 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.