共用方式為


SPFile.LengthByUser Property

Gets a collection of user storage objects that contain information about each user of the Web Parts page, including the user name, user ID, and the number of bytes that the Web Part personalizations consume.

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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)> _
Public ReadOnly Property LengthByUser As SPUserStorageCollection
    Get
'Usage
Dim instance As SPFile
Dim value As SPUserStorageCollection

value = instance.LengthByUser
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
public SPUserStorageCollection LengthByUser { get; }

Property Value

Type: Microsoft.SharePoint.SPUserStorageCollection
An SPUserStorageCollection object that represents the user storage collection.

See Also

Reference

SPFile Class

SPFile Members

Microsoft.SharePoint Namespace