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

Applies a tag to a community group. If the tag text does not already exist, it is created. Uses the currently logged in user. The newly created ID is accessible via the returned TagData.

C#
public TagData AddTagToCommunityGroup(String tagText, Long groupId, int languageId);
Visual Basic
Public Function AddTagToCommunityGroup(ByVal tagText As String, ByVal groupId As Long, ByVal languageId As Integer) As TagData
Parameters 
Description 
tagText 
Text of tag to apply to object. 
groupId 
ID of the community group that is being tagged. 
languageId 
ID of the language the tagText should be saved as. Use -1 for all languages. 

TagData structure representing the applied tag.

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!