Share via


IdentityFavorites.GetFavorites Method

Returns list of favoriteItem objects. Application itself can create a Tree representation out of this list using Id and ParentId properties of entries

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Function GetFavorites As IEnumerable(Of FavoriteItem)
public IEnumerable<FavoriteItem> GetFavorites()
public:
IEnumerable<FavoriteItem^>^ GetFavorites()
member GetFavorites : unit -> IEnumerable<FavoriteItem> 
public function GetFavorites() : IEnumerable<FavoriteItem>

Return Value

Type: System.Collections.Generic.IEnumerable<FavoriteItem>

.NET Framework Security

See Also

Reference

IdentityFavorites Class

Microsoft.TeamFoundation.Framework.Server Namespace