Ektron CMS400.NET API Documentation
|
Applies a tag to an object. If the tag text does not already exist, it is created. The newly created ID is accessible via the returned TagData.
public TagData AddTagToObject(String tagText, Long objectId, EkEnumeration.CMSObjectTypes objectType, Long userId, int languageId);
Public Function AddTagToObject(ByVal tagText As String, ByVal objectId As Long, ByVal objectType As EkEnumeration.CMSObjectTypes, ByVal userId As Long, ByVal languageId As Integer) As TagData
Parameters |
Description |
tagText |
Text of the tag to apply to an object. |
objectId |
ID of object that is being tagged. |
objectType |
Type of object represented by objectId. |
userId |
ID of the user applying the tag. |
languageId |
ID of the language the tagText should be saved as. Use -1 for all languages. |
TagData structure representing the applied tag.
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|