共用方式為


VersionControlServer.GetItems 方法 (array<ItemSpec[], VersionSpec, DeletedState, ItemType, GetItemsOptions, array<String[], array<String[])

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

語法

'宣告
Public Function GetItems ( _
    itemSpecs As ItemSpec(), _
    version As VersionSpec, _
    deletedState As DeletedState, _
    itemType As ItemType, _
    options As GetItemsOptions, _
    itemPropertyFilters As String(), _
    itemAttributeFilters As String() _
) As ItemSet()
public ItemSet[] GetItems(
    ItemSpec[] itemSpecs,
    VersionSpec version,
    DeletedState deletedState,
    ItemType itemType,
    GetItemsOptions options,
    string[] itemPropertyFilters,
    string[] itemAttributeFilters
)

參數

  • itemPropertyFilters
    類型:array<System.String[]
    項目屬性篩選條件
  • itemAttributeFilters
    類型:array<System.String[]
    項目屬性篩選。

傳回值

類型:array<Microsoft.TeamFoundation.VersionControl.Client.ItemSet[]
比對路徑的項目。

.NET Framework 安全性

請參閱

參考

VersionControlServer 類別

GetItems 多載

Microsoft.TeamFoundation.VersionControl.Client 命名空間