Share via


SocialTagManager.GetTags Method (UserProfile, Int32, Int32)

Retrieves an array of SocialTag objects owned by the specified user.

Namespace:  Microsoft.Office.Server.SocialData
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Function GetTags ( _
    user As UserProfile, _
    maximumItemsToReturn As Integer, _
    startIndex As Integer _
) As SocialTag()
'Usage
Dim instance As SocialTagManager
Dim user As UserProfile
Dim maximumItemsToReturn As Integer
Dim startIndex As Integer
Dim returnValue As SocialTag()

returnValue = instance.GetTags(user, maximumItemsToReturn, _
    startIndex)
public SocialTag[] GetTags(
    UserProfile user,
    int maximumItemsToReturn,
    int startIndex
)

Parameters

  • maximumItemsToReturn
    Type: System.Int32

    The maximum size of the array.

  • startIndex
    Type: System.Int32

    The index of the first SocialTag to be retrieved from the database.

Return Value

Type: []

See Also

Reference

SocialTagManager Class

SocialTagManager Members

GetTags Overload

Microsoft.Office.Server.SocialData Namespace