-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Mapping_Converter_ChangeType
Andrew Koryavchenko edited this page Jun 17, 2018
·
5 revisions
Returns an object of a specified type whose value is equivalent to a specified object.
Namespace: CodeJam.Mapping
Assembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0
C#
public static Object ChangeType(
Object value,
Type conversionType,
MappingSchema mappingSchema = null
)
VB
Public Shared Function ChangeType (
value As Object,
conversionType As Type,
Optional mappingSchema As MappingSchema = Nothing
) As Object
F#
static member ChangeType :
value : Object *
conversionType : Type *
?mappingSchema : MappingSchema
(* Defaults:
let _mappingSchema = defaultArg mappingSchema null
*)
-> Object
- value
- Type: System.Object
An object to convert. - conversionType
- Type: System.Type
The type of object to return. - mappingSchema (Optional)
- Type: CodeJam.Mapping.MappingSchema
A mapping schema that defines custom converters.
Type: Object
An object whose type is conversionType and whose value is equivalent to value.