Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds the specified comment to the specified URL.
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 _
) As SocialComment
'Usage
Dim instance As SocialCommentManager
Dim url As Uri
Dim comment As String
Dim returnValue As SocialComment
returnValue = instance.AddComment(url, _
comment)
public SocialComment AddComment(
Uri url,
string comment
)
Parameters
- url
Type: System.Uri
- comment
Type: System.String
Return Value
Type: Microsoft.Office.Server.SocialData.SocialComment
Remarks
The comment gets a a null reference (Nothing in Visual Basic) value for the title.