Freigeben über


SocialCommentManager.AddComment-Methode (Uri, String, Boolean)

Fügt den angegebenen Kommentar auf den angegebenen URL und weist dem Kommentar die angegebene Priorität.

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 _
) As SocialComment
'Usage
Dim instance As SocialCommentManager
Dim url As Uri
Dim comment As String
Dim isHighPriority As Boolean
Dim returnValue As SocialComment

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

Parameter

  • isHighPriority
    Typ: System.Boolean

    Dieses Objekt, dieses Mitglied oder diese Aufzählung ist veraltet und kann nicht in Ihrem Code verwendet werden.

Rückgabewert

Typ: Microsoft.Office.Server.SocialData.SocialComment

Hinweise

Der Kommentar Ruft einen ein Nullverweis (Nothing in Visual Basic) -Wert für den Titel.

Siehe auch

Referenz

SocialCommentManager Klasse

SocialCommentManager-Member

AddComment-Überladung

Microsoft.Office.Server.SocialData-Namespace