共用方式為


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