다음을 통해 공유


MembersWebPart.NumberLimit Property

Gets or sets number of items to display.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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.

See Also

Reference

MembersWebPart Class

MembersWebPart Members

Microsoft.SharePoint.WebPartPages Namespace