Click or drag to resize

ConversionsTryChangeType Method (Object, Type, Object)

Converts the input object to a specified typed equivalent. A return value indicates whether the conversion succeeded.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
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: Boolean
true if conversion succeeded, false otherwise.
Exceptions
ExceptionCondition
ArgumentNullExceptionconversionType is null.
See Also