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