[This is preliminary documentation and is subject to change.]
Converts bytes count to specified string format.
Namespace:
PhoenixAssembly: Phoenix (in Phoenix.dll) Version: 0.7.0.0
Syntax
C# | Visual Basic | Visual C++ |
public static class SizeConverter
Public NotInheritable Class SizeConverter
public ref class SizeConverter abstract sealed
Members
All Members | Fields | Methods |
Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |
Member | Description | |
---|---|---|
Byte |
1B
| |
Gigabyte |
GB in bytes.
| |
Kilobyte |
kB in bytes.
| |
Megabyte |
MB in bytes.
| |
Terabyte |
TB in bytes.
| |
ToBytes(Int64) |
Returns size in bytes.
| |
ToGigaBytes(Int64) |
Returns size in gigabytes.
| |
ToKiloBytes(Int64) |
Returns size in kilobytes.
| |
ToMegaBytes(Int64) |
Returns size in megabytes.
| |
ToOptimal(Int64) |
Returns size in optimal units.
| |
ToTeraBytes(Int64) |
Returns size in terabytes.
|