ConversionsTryChangeType Method (Object, Type, Object) |
Converts the input object to a specified typed equivalent. A return value indicates whether the conversion succeeded.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static bool TryChangeType(
Object input,
Type conversionType,
out Object value
)
Parameters
- input
- Type: SystemObject
The input. - conversionType
- Type: SystemType
The conversion type. - value
- Type: SystemObject
The result value.
Return Value
Type:
Booleantrue if conversion succeeded,
false otherwise.
Exceptions See Also