SocialCommentManager.AddComment method (Uri, String, Boolean, String)
Adiciona o comentário especificado para a URL especificada e retorna o comentário a prioridade especificada e o título.
Namespace: Microsoft.Office.Server.SocialData
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaração
Public Function AddComment ( _
url As Uri, _
comment As String, _
isHighPriority As Boolean, _
title As String _
) As SocialComment
'Uso
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
)
Parâmetros
- url
Type: System.Uri
- comment
Type: System.String
isHighPriority
Type: System.BooleanThis object, member, or enumeration is deprecated and is not intended to be used in your code.
title
Type: System.StringUm valor de seqüência de caracteres que representa o título do objeto sendo comentado.
Valor retornado
Type: Microsoft.Office.Server.SocialData.SocialComment