SocialCommentControl._GetProperty-Methode

Ruft den Wert der angegebenen Eigenschaft aus dem aktuellen SocialComment.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Protected Shared Function _GetProperty ( _
    item As SocialComment, _
    prop As SocialCommentControl.SocialCommentProperty _
) As String
'Usage
Dim item As SocialComment
Dim prop As SocialCommentControl.SocialCommentProperty
Dim returnValue As String

returnValue = SocialCommentControl._GetProperty(item, _
    prop)
protected static string _GetProperty(
    SocialComment item,
    SocialCommentControl.SocialCommentProperty prop
)

Parameter

Rückgabewert

Typ: System.String
Eine Zeichenfolge, die den Wert der angegebenen Eigenschaft darstellt.

Hinweise

Diese Methode löst eine ArgumentNullException , wenn die angegebenen SocialComment Null ist.

Siehe auch

Referenz

SocialCommentControl Klasse

SocialCommentControl-Member

Microsoft.SharePoint.Portal.WebControls-Namespace