ConversionsChangeType Method (Object, Type, Object) |
Converts the input object to a specified typed equivalent. If conversion failed, the specified default value will be used.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static Object ChangeType(
Object input,
Type conversionType,
Object defaultValue
)
Parameters
- input
- Type: SystemObject
The input. - conversionType
- Type: SystemType
The conversion type. - defaultValue
- Type: SystemObject
The default value.
Return Value
Type:
ObjectThe converted typed value.
See Also