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
'宣告
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 array of items about which to get information.
- sortData
Type: System.Boolean
True to sort the returned data. False to not 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.