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