You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Community Namespace > Classes > Favorites Class > Favorites Methods > IsContentFavorite
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Favorites.IsContentFavorite Method

Checks if to see if a piece of content is already in a user's favorites.

C#
public Boolean IsContentFavorite(Long contentId, Long userId);
Visual Basic
Public Function IsContentFavorite(ByVal contentId As Long, ByVal userId As Long) As Boolean
Parameters 
Description 
contentId 
ID of content to be checked. 
userId 
ID of user to check. 

True if the content item is in user's favorites, else false.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!