Click or drag to resize

ConversionsChangeType Method (Object, Type, Object, IFormatProvider)

Converts the input object to a specified typed equivalent. If conversion failed, the specified default value will be used.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static Object ChangeType(
	Object input,
	Type conversionType,
	Object defaultValue,
	IFormatProvider provider
)

Parameters

input
Type: SystemObject
The input.
conversionType
Type: SystemType
The conversion type.
defaultValue
Type: SystemObject
The default value.
provider
Type: SystemIFormatProvider
The format provider.

Return Value

Type: Object
The converted typed value.
See Also