ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellBrowser.TShellControlHelper.VariantToString

This method converts the given variant to a string.

Syntax
Pascal
class function VariantToString(pVariant: Variant; const pColumnId: TShellColumnId): string;
Parameters 
Description 
pVariant: Variant 
The variant that should be converted. 
const pColumnId: TShellColumnId 
An optional shell column that can be passed and is used to determine the type of the variant. 

The converted variant as a String.

If a VariantArray is passed, only the first variant is converted. If the TShellColumnId is the size column, the byte size is formated.