You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > Tags Class > Tags Methods > GetTagsForObject Method > GetTagsForObject
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
Tags.GetTagsForObject Method (long, EkEnumeration.CMSObjectTypes, int)

Returns an array of tags for a given object. 

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 = "GetTagsForObject with language)", Description = "Returns an array of tags for a given object.")]
public TagData[] GetTagsForObject(long objectId, EkEnumeration.CMSObjectTypes objectType, int languageId);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetTagsForObject with language)", Description = "Returns an array of tags for a given object.")>
Public Function GetTagsForObject(objectId As long, objectType As EkEnumeration.CMSObjectTypes, languageId As Integer) As TagData()
Parameters 
Description 
objectId 
The object ID for which to retrieve tags. 
objectType 
The object type. 
languageId 
The language ID of tags to retrieve. 

An array of TagData objects that have been applied to Object.

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!