SocialCommentControl._GetProperty Method

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

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 .

See Also

Reference

SocialCommentControl Class

SocialCommentControl Members

Microsoft.SharePoint.Portal.WebControls Namespace