Freigeben über


SocialCommentManager.AddComment-Methode (Uri, String)

Fügt den angegebenen Kommentar zur angegebenen 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
)

Parameter

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