Share via


SocialTagManager.AddTag method (Uri, Term, String)

Creates a SocialTag object with the specified Uri, Term, and String.

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

Syntax

'Declaration
Public Function AddTag ( _
    url As Uri, _
    term As Term, _
    title As String _
) As SocialTag
'Usage
Dim instance As SocialTagManager
Dim url As Uri
Dim term As Term
Dim title As String
Dim returnValue As SocialTag

returnValue = instance.AddTag(url, term, _
    title)
public SocialTag AddTag(
    Uri url,
    Term term,
    string title
)

Parameters

  • title
    Type: System.String

    The title of the Web page whose URL is being tagged.

Return value

Type: Microsoft.Office.Server.SocialData.SocialTag

Remarks

The social tag is external, and therefore visible to users other than the owner, by default.

See also

Reference

SocialTagManager class

SocialTagManager members

AddTag overload

Microsoft.Office.Server.SocialData namespace