ShellControlHelperVariantToString Method |
This method converts the given variant to a string.
Namespace: Jam.ShellAssembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntaxpublic 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 Object
- The variant that should be converted.
- pColumnType SHCOLUMNID
- An optional shell column that can be passed and is used to determine the type of the variant.
Return Value
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