다음을 통해 공유


PublishedNewsFeedWebPart.MaxItemsToDisplay Property

Gets or sets the maximum number of ActivityEvent objects to display.

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

Syntax

'Declaration
Public Overrides Property MaxItemsToDisplay As Integer
    Get
    Set
'Usage
Dim instance As PublishedNewsFeedWebPart
Dim value As Integer

value = instance.MaxItemsToDisplay

instance.MaxItemsToDisplay = value
public override int MaxItemsToDisplay { get; set; }

Property Value

Type: System.Int32
The maximum number of ActivityEvent objects to display. If an attempt is made to set to a value less than 0, then MaxItemsToDisplay will be set to 0; if an attempt is made to set to a value over 100, MaxItemsToDisplay will be set to 100. The default value is 10.

See Also

Reference

PublishedNewsFeedWebPart Class

PublishedNewsFeedWebPart Members

Microsoft.SharePoint.Portal.WebControls Namespace