You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > Flag Class > Flag Methods > AssignFlagToContent
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Flag.AssignFlagToContent Method

Assigns a flag definition to a piece of content. 

This method can be accessed through the Flagging.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Community/Flag.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "AssignFlagToContent", Description = "assign flag definition to content")]
public void AssignFlagToContent(long contentId, long flagId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "AssignFlagToContent", Description = "assign flag definition to content")>
Public Function AssignFlagToContent(contentId As long, flagId As long) As void
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!