FileSizeSize(DigitalStorageUnits, Int32, NumberFormatInfo) Property

Gets the filesize, in the specified unit of size, using the specified numeric format.

Definition

Namespace: DevCase.Core.IO.FileSystem
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public string this[
	DigitalStorageUnits sizeUnit,
	int decimalPrecision,
	NumberFormatInfo numberFormatInfo = null
] { get; }

Parameters

sizeUnit  DigitalStorageUnits
The unit of size.
decimalPrecision  Int32
 
numberFormatInfo  NumberFormatInfo  (Optional)
A custom NumberFormatInfo format provider.

Property Value

String
The filesize.

See Also