SocialCommentManager.AddComment-Methode (Uri, String, Boolean, String)
Fügt den angegebenen Kommentar auf den angegebenen URL und gibt dem Kommentar der angegebenen Priorität und den Titel.
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
)
Parameter
- url
Typ: System.Uri
- comment
Typ: System.String
isHighPriority
Typ: System.BooleanDieses Objekt, dieses Mitglied oder diese Aufzählung ist veraltet und kann nicht in Ihrem Code verwendet werden.
title
Typ: System.StringEin Zeichenfolgenwert, der den Titel des kommentierten Datenbankobjektes-Objekts darstellt.
Rückgabewert
Typ: Microsoft.Office.Server.SocialData.SocialComment