Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the value of the specified property from the current 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
)
Parameters
item
Type: Microsoft.Office.Server.SocialData.SocialCommentThe SocialComment whose property value is to be returned.
prop
Type: Microsoft.SharePoint.Portal.WebControls.SocialCommentControl.SocialCommentPropertyThe property value to return from the current SocialComment.
Return Value
Type: System.String
A string that represents the value of the specified property.
Remarks
This method throws an ArgumentNullException if the specified SocialComment is null .