SPUtility.FormatSize method

Determines the format size, in megabytes or kilobytes.

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

Syntax

'Declaration
Public Shared Function FormatSize ( _
    cbSize As Long _
) As String
'Usage
Dim cbSize As Long
Dim returnValue As String

returnValue = SPUtility.FormatSize(cbSize)
public static string FormatSize(
    long cbSize
)

Parameters

Return value

Type: System.String
A string that contains the format size.

See also

Reference

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace