Share via


ITeamProjectPickerDefaultSelectionProvider.GetDefaultProjects 方法

取得選取之專案的忍耐集合中具有指定之 GUID 的集合中。

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

語法

'宣告
Function GetDefaultProjects ( _
    collectionId As Guid _
) As IEnumerable(Of String)
IEnumerable<string> GetDefaultProjects(
    Guid collectionId
)

參數

  • collectionId
    類型:System.Guid
    TeamProjectCollection 的 GUID。

傳回值

類型:System.Collections.Generic.IEnumerable<String>
預設專案選取的 URI 的可列舉集合。

.NET Framework 安全性

請參閱

參考

ITeamProjectPickerDefaultSelectionProvider 介面

Microsoft.TeamFoundation.Client 命名空間