Workspace.GetExtendedItems 方法 (array<ItemSpec[], DeletedState, ItemType, GetItemsOptions, array<String[])

對於每個項目 ItemSpec,擷取符合指定的準則儲存機制的擴充項目的清單。 如果" path」引數是檔案,則會傳回包含該檔案的一組項目。 如果「Path "為資料夾,則會傳回該資料夾包含所有項目的一組項目。 如果" path」包含萬用字元,則會傳回符合萬用字元的一組在指定的資料夾中的項目。

命名空間:  Microsoft.TeamFoundation.VersionControl.Client
組件:  Microsoft.TeamFoundation.VersionControl.Client (在 Microsoft.TeamFoundation.VersionControl.Client.dll 中)

語法

'宣告
Public Function GetExtendedItems ( _
    itemSpecs As ItemSpec(), _
    deletedState As DeletedState, _
    itemType As ItemType, _
    getItemsOptions As GetItemsOptions, _
    itemPropertyFilters As String() _
) As ExtendedItem()()
public ExtendedItem[][] GetExtendedItems(
    ItemSpec[] itemSpecs,
    DeletedState deletedState,
    ItemType itemType,
    GetItemsOptions getItemsOptions,
    string[] itemPropertyFilters
)

參數

  • itemPropertyFilters
    類型:array<System.String[]
    查詢的屬性清單。

傳回值

類型:array<array<Microsoft.TeamFoundation.VersionControl.Client.ExtendedItem[][]
ExtendedItem 陣列,其中包含相符的 ExtendedItem 執行個體的每個與每個指定的 ItemSpec

.NET Framework 安全性

請參閱

參考

Workspace 類別

GetExtendedItems 多載

Microsoft.TeamFoundation.VersionControl.Client 命名空間