You are here: Ektron Namespace > .NET Assemblies > Ektron.Cms.API Namespace > Ektron.Cms.API.Community Namespace > Classes > Favorites Class > Favorites Methods > AddContentFavorite Method > AddContentFavorite
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Favorites.AddContentFavorite Method (Long, Long)

Adds a piece of content to user's favorites.

C#
public AddContentFavorite(Long contentId, Long userId);
Visual Basic
Public Sub AddContentFavorite(ByVal contentId As Long, ByVal userId As Long)
Parameters 
Description 
contentId 
ID of content 
userId 
ID of user 
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!