메소드 | 설명 | |
---|---|---|
Equals ( object obj ) : bool | ||
FileSize ( long bytes ) : System |
Represents the size of a particular file.
|
|
GetHashCode ( ) : int | ||
ToSIUnits ( ) : |
Returns the file size represented in multiples of 1000.
|
|
ToString ( ) : string |
Convert to a string using the closest "round" units.
|
|
ToString ( FileSizeUnits units, bool useUnambiguousPrefixes = false ) : string |
Returns the string using the given units.
|
메소드 | 설명 | |
---|---|---|
FileSize ( long bytes, FileSizeScale scale ) : System |
Represents the size of a particular file.
|
|
GetAs ( FileSizeUnits units ) : long | ||
GetAsFraction ( FileSizeUnits units ) : double |
public ToString ( FileSizeUnits units, bool useUnambiguousPrefixes = false ) : string | ||
units | FileSizeUnits | |
useUnambiguousPrefixes | bool | /// Use the new IEC prefixes for binary units (kibibytes-KiB, /// mebibytes-MiB, etc.) instead of the more common units. /// |
리턴 | string |