Click or drag to resize

PropertySystemHelperVariantToString Method

This method converts the given variant to a string.

Namespace:  Jam.Shell
Assembly:  ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.1
Syntax
public static string VariantToString(
	Object pVariant,
	SHCOLUMNID pColumnType
)

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