FileSizeSizeRounded(Int32, NumberFormatInfo) Property
Gets the filesize, rounded using the most approximated unit of size, with the specified decimal precision.
Namespace: DevCase.Core.IO.FileSystemAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public string this[
int decimalPrecision,
NumberFormatInfo numberFormatInfo = null
] { get; }
Public ReadOnly Property SizeRounded (
decimalPrecision As Integer,
Optional numberFormatInfo As NumberFormatInfo = Nothing
) As String
Get
Dim instance As FileSize
Dim decimalPrecision As Integer
Dim numberFormatInfo As NumberFormatInfo
Dim value As String
value = instance.SizeRounded(decimalPrecision,
numberFormatInfo)
public:
property String^ SizeRounded[int decimalPrecision, NumberFormatInfo^ numberFormatInfo = nullptr] {
String^ get (int decimalPrecision, NumberFormatInfo^ numberFormatInfo = nullptr);
}
member SizeRounded : string with get
No code example is currently available or this language may not be supported.
- decimalPrecision Int32
-
The decimal precision.
- numberFormatInfo NumberFormatInfo (Optional)
-
A NumberFormatInfo format provider.
String
The rounded value, with the specified decimal precision.