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

Assigns a flag definition to a piece of content.

C#
public AssignFlagToContent(Long contentId, Long flagId);
Visual Basic
Public Sub AssignFlagToContent(ByVal contentId As Long, ByVal flagId As Long)
Parameters 
Description 
contentId 
ID of the content to be assigned the flag. 
flagId 
ID of the flag definition. 
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!