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

Saves a Tag and returns new ID. If the tag already exists, the existing Tag ID is returned. 

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

~/Workarea/webservices/WebServiceAPI/Community/Tags.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "AddTag", Description = "Saves a Tag and returns new Id. If the tag already exists, the existing Tag Id is returned.")]
public long AddTag(ref TagData tag);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "AddTag", Description = "Saves a Tag and returns new Id. If the tag already exists, the existing Tag Id is returned.")>
Public Function AddTag(ByRef tag As TagData) As long
Parameters 
Description 
tag 
Tag data to save. 

An ID for the newly created tag or existing 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!