Export (0) Print
Expand All
Expand Minimize

SPUtility.FormatSize method

Determines the format size, in megabytes or kilobytes.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public static string FormatSize(
	long cbSize
)

Parameters

cbSize
Type: System.Int64

The size in Bytes.

Return value

Type: System.String
A string that contains the format size.
Show:
© 2014 Microsoft