SPUserStorage.Length Property

Gets the number of bytes that the user is consuming through his or her personalization information for Web Parts on a page.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property Length As Long
    Get
'Usage
Dim instance As SPUserStorage
Dim value As Long

value = instance.Length
public long Length { get; }

Property Value

Type: System.Int64
A 64-bit integer that indicates the number of bytes.

Remarks

If the user has not personalized any Web Parts on the page, the value of the Length property is zero.

See Also

Reference

SPUserStorage Class

SPUserStorage Members

Microsoft.SharePoint Namespace