ConversionsTryChangeType Method (Object, Type, IFormatProvider, 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,
IFormatProvider provider,
out Object value
)
Parameters
- input
- Type: SystemObject
The input. - conversionType
- Type: SystemType
The conversion type. - provider
- Type: SystemIFormatProvider
The format provider. - value
- Type: SystemObject
The result value.
Return Value
Type:
Booleantrue if conversion succeeded,
false otherwise.
Exceptions See Also