Share via


HashTagCollection class

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

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientObject
    Microsoft.SharePoint.Client.ClientObjectCollection
      Microsoft.SharePoint.Client.ClientObjectCollection<HashTag>
        Microsoft.SharePoint.Client.UserProfiles.HashTagCollection

Namespace:  Microsoft.SharePoint.Client.UserProfiles
Assembly:  Microsoft.SharePoint.Client.UserProfiles (in Microsoft.SharePoint.Client.UserProfiles.dll)

Syntax

'Declaration
Public Class HashTagCollection _
    Inherits ClientObjectCollection(Of HashTag)
'Usage
Dim instance As HashTagCollection
public class HashTagCollection : ClientObjectCollection<HashTag>

Remarks

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.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

HashTagCollection members

Microsoft.SharePoint.Client.UserProfiles namespace