MembersWebPart.NumberLimit property
Gets or sets number of items to display.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<WebPartStorageAttribute(Storage.Personal)> _
<ResourcesAttribute("NumberLimitLiteral", "Layout", "NumberLimit")> _
Public Property NumberLimit As Integer
Get
Set
'Usage
Dim instance As MembersWebPart
Dim value As Integer
value = instance.NumberLimit
instance.NumberLimit = value
[WebPartStorageAttribute(Storage.Personal)]
[ResourcesAttribute("NumberLimitLiteral", "Layout", "NumberLimit")]
public int NumberLimit { get; set; }
Property value
Type: System.Int32
Int32 Number of items to display.
Exceptions
Exception | Condition |
---|---|
[WebPartPageUserException] | Number limit was exceeded. |
Remarks
The NumberLimit property is read/write. The upper limit is 1000 items.