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
- url
Type: System.Uri
term
Type: Microsoft.SharePoint.Taxonomy.TermA Term object. The term must exist in the taxonomy that you are using.
title
Type: System.StringThe 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.