共用方式為


TeamFoundationVersionControlService.QueryItemsExtended 方法 (TeamFoundationRequestContext, String, String, array<ItemSpec[], DeletedState, ItemType, Int32, array<String[])

對於每一個輸入 ItemSpec,擷取符合指定準則的擴充項目的清單。

如果「path 引數是檔案,則會傳回包含該檔案的一組項目。 如果" path "是資料夾,則會傳回該資料夾中所有項目的一組項目。 如果" path "中找不到包含萬用字元,則會傳回符合萬用字元的一組在指定的資料夾中的項目。

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

語法

'宣告
Public Function QueryItemsExtended ( _
    requestContext As TeamFoundationRequestContext, _
    workspaceName As String, _
    workspaceOwner As String, _
    items As ItemSpec(), _
    deletedState As DeletedState, _
    itemType As ItemType, _
    options As Integer, _
    itemPropertyFilters As String() _
) As TeamFoundationDataReader
public TeamFoundationDataReader QueryItemsExtended(
    TeamFoundationRequestContext requestContext,
    string workspaceName,
    string workspaceOwner,
    ItemSpec[] items,
    DeletedState deletedState,
    ItemType itemType,
    int options,
    string[] itemPropertyFilters
)

參數

  • workspaceName
    型別:System.String
    工作區名稱,則為,如果位置對應所需的項目。可能是 Null。
  • workspaceOwner
    型別:System.String
    工作區的擁有人。可能是 Null。
  • itemPropertyFilters
    型別:array<System.String[]
    在設計階段環境中顯示所傳回的中 ExtendedItem 物件 (無論這些物件是否存在。

傳回值

型別:Microsoft.TeamFoundation.Framework.Server.TeamFoundationDataReader
含有結果的 TeamFoundationDataReader 以下列順序執行:ExtendedItem [] - ExtendedItem 陣列,其中包含相符的 ExtendedItem 執行個體的每一個與每個指定的 ItemSpec。

.NET Framework 安全性

請參閱

參考

TeamFoundationVersionControlService 類別

QueryItemsExtended 多載

Microsoft.TeamFoundation.VersionControl.Server 命名空間