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)

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

An array of TagData objects that have been applied to an 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!