SocialCommentManager.AddComment method (Uri, String, Boolean, String)

Adds the specified comment to the specified URL and gives the comment the specified priority and title.

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

Syntax

'Declaration
Public Function AddComment ( _
    url As Uri, _
    comment As String, _
    isHighPriority As Boolean, _
    title As String _
) As SocialComment
'Usage
Dim instance As SocialCommentManager
Dim url As Uri
Dim comment As String
Dim isHighPriority As Boolean
Dim title As String
Dim returnValue As SocialComment

returnValue = instance.AddComment(url, _
    comment, isHighPriority, title)
public SocialComment AddComment(
    Uri url,
    string comment,
    bool isHighPriority,
    string title
)

Parameters

  • isHighPriority
    Type: System.Boolean

    This object, member, or enumeration is deprecated and is not intended to be used in your code.

  • title
    Type: System.String

    A string value representing the title of the object being commented.

Return value

Type: Microsoft.Office.Server.SocialData.SocialComment

See also

Reference

SocialCommentManager class

SocialCommentManager members

AddComment overload

Microsoft.Office.Server.SocialData namespace