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
item
Typ: Microsoft.Office.Server.SocialData.SocialCommentDas SocialComment , dessen Eigenschaftswert zurückgegeben werden soll.
prop
Typ: Microsoft.SharePoint.Portal.WebControls.SocialCommentControl.SocialCommentPropertyDer Eigenschaftenwert aus der aktuellen SocialCommentzurückgegeben.
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.