SPUtility.FormatSize-Methode
Bestimmt die Formatgröße in Megabyte oder Kilobyte an.
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
)
Parameter
cbSize
Typ: System.Int64Die Größe in Bytes.
Rückgabewert
Typ: System.String
Eine Zeichenfolge, die die Formatgröße enthält.