ShellControlHelperVariantToString Method |
This method converts the given variant to a string.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax public static string VariantToString(
Object pVariant,
SHCOLUMNID pColumnType
)
Public Shared Function VariantToString (
pVariant As Object,
pColumnType As SHCOLUMNID
) As String
public:
static String^ VariantToString(
Object^ pVariant,
SHCOLUMNID pColumnType
)
static member VariantToString :
pVariant : Object *
pColumnType : SHCOLUMNID -> string
Parameters
- pVariant
- Type: SystemObject
The variant that should be converted. - pColumnType
- Type: Jam.ShellSHCOLUMNID
An optional shell column that can be passed and is used to determine the type of the variant.
Return Value
Type:
String The converted variant as a String.
Remarks
If a VariantArray is passed, the variants are concatenated by semicolons.
If the ShColumnId is the VolumeFreeSize or Size column, the byte size is formated.
If the ShColumnId is the write, create or access time, the given UTC time is converted to local time.
See Also