SP.UserProfiles.HashTagCollection object (sp.userprofiles)

SharePoint 2013

Represents a collection of hash tags in microblog posts. This collection is returned by the getTrendingTags method.

Last modified: September 27, 2013

Applies to: apps for SharePoint | Office 365 | SharePoint Foundation 2013 | SharePoint Server 2013

Hash tags are stored in the Hashtags term set. To start and stop following a tag or to find out whether the current user is following it, you need to use the tag GUID that you get by using the taxonomy API. See How to get a tag's GUID based on the tag's name by using the JavaScript object model.

var object = new SP.UserProfiles.HashTagCollection()

The HashTagCollection object has the following members.

Methods

The HashTagCollection object has the following methods.

Method

Description

itemAt

Gets the hash tag at the specified index.

Properties

The HashTagCollection object has the following properties.

Property

Description

childItemType

This member is reserved for internal use and is not intended to be used directly from your code.

item

Gets the hash tag at the specified index.

Show: