共用方式為


GitHttpClient.GetItemsAsync 方法

命名空間:  Microsoft.TeamFoundation.SourceControl.WebApi
組件:  Microsoft.TeamFoundation.SourceControl.WebApi (在 Microsoft.TeamFoundation.SourceControl.WebApi.dll 中)

語法

'宣告
Public Function GetItemsAsync ( _
    repositoryId As Guid, _
    path As String, _
    version As GitVersionDescriptor, _
    recursionLevel As VersionControlRecursionType, _
    includeContentMetadata As Boolean, _
    includeLatestChange As Boolean, _
    userState As Object _
) As Task(Of GitItemsCollection)
public Task<GitItemsCollection> GetItemsAsync(
    Guid repositoryId,
    string path,
    GitVersionDescriptor version,
    VersionControlRecursionType recursionLevel,
    bool includeContentMetadata,
    bool includeLatestChange,
    Object userState
)

參數

傳回值

類型:System.Threading.Tasks.Task<GitItemsCollection>

.NET Framework 安全性

請參閱

參考

GitHttpClient 類別

Microsoft.TeamFoundation.SourceControl.WebApi 命名空間