SocialTagManager.GetTags Method (UserProfile, 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 _
) As SocialTag()
'Usage
Dim instance As SocialTagManager
Dim user As UserProfile
Dim maximumItemsToReturn As Integer
Dim returnValue As SocialTag()
returnValue = instance.GetTags(user, maximumItemsToReturn)
public SocialTag[] GetTags(
UserProfile user,
int maximumItemsToReturn
)
Parameters
maximumItemsToReturn
Type: System.Int32The maximum size of the array.
Return Value
Type: []