다음을 통해 공유


SocialCommentWebPart.WebPartPropertyDisplayItems Property

Gets or sets the number of social comments displayed in the SocialCommentWebPart.

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

Syntax

'Declaration
Public Property WebPartPropertyDisplayItems As Integer
    Get
    Set
'Usage
Dim instance As SocialCommentWebPart
Dim value As Integer

value = instance.WebPartPropertyDisplayItems

instance.WebPartPropertyDisplayItems = value
public int WebPartPropertyDisplayItems { get; set; }

Property Value

Type: System.Int32
The number of social comments displayed in the SocialCommentWebPart. The default value is 3.

See Also

Reference

SocialCommentWebPart Class

SocialCommentWebPart Members

Microsoft.SharePoint.Portal.WebControls Namespace