C# Class BExplorer.Shell.Interop.ShlWapi

Afficher le fichier Open project: Gainedge/BetterExplorer Class Usage Examples

Méthodes publiques

Méthode Description
StrFormatByteSize ( long filesize ) : string

Converts a numeric value into a string that represents the number expressed as a size value in bytes, kilobytes, megabytes, or gigabytes, depending on the size.

Private Methods

Méthode Description
StrCmpLogicalW ( string psz1, string psz2 ) : int
StrFormatByteSize ( long fileSize, [ buffer, int bufferSize ) : long
StrRetToBuf ( STRRET &pstr, IntPtr pidl, StringBuilder pszBuf, UInt32 cchBuf ) : Int32

Method Details

StrFormatByteSize() public static méthode

Converts a numeric value into a string that represents the number expressed as a size value in bytes, kilobytes, megabytes, or gigabytes, depending on the size.
public static StrFormatByteSize ( long filesize ) : string
filesize long The numeric value to be converted.
Résultat string