Click or drag to resize

imbStringFormatswriteFileSize Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

Namespace:  imbSCI.Core.extensions.text
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string writeFileSize(
	this long byteCount,
	int order = -1
)
Request Example View Source

Parameters

byteCount
Type: SystemInt64
order (Optional)
Type: SystemInt32

Return Value

Type: String
Formated string of memory alocated: i.e.: 12.07kB, 5.62Mb

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Int64. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also