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
)
參數
- itemSpecs
型別:array<Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]
清單項目的項目規範,可能是伺服器或本機
- deletedState
型別:Microsoft.TeamFoundation.VersionControl.Client.DeletedState
表示傳回旗標是否已刪除項目,非刪除的項目 (或兩者)。
- itemType
型別:Microsoft.TeamFoundation.VersionControl.Client.ItemType
表示的旗標是否傳回檔案,資料夾 (或兩者)。
- getItemsOptions
型別:Microsoft.TeamFoundation.VersionControl.Client.GetItemsOptions
選項
- itemPropertyFilters
型別:array<System.String[]
查詢的屬性清單。
傳回值
型別:array<array<Microsoft.TeamFoundation.VersionControl.Client.ExtendedItem[][]
ExtendedItem 陣列,其中包含相符的 ExtendedItem 執行個體的每個與每個指定的 ItemSpec
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。