Skip to content

M_CodeJam_Mapping_DefaultValue_GetValue

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

DefaultValue.GetValue Method (Type, MappingSchema)

Gets default value for provided Type.

Namespace: CodeJam.Mapping
Assembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0

Syntax

C#

public static Object GetValue(
	Type type,
	MappingSchema mappingSchema = null
)

VB

Public Shared Function GetValue ( 
	type As Type,
	Optional mappingSchema As MappingSchema = Nothing
) As Object

F#

static member GetValue : 
        type : Type * 
        ?mappingSchema : MappingSchema 
(* Defaults:
        let _mappingSchema = defaultArg mappingSchema null
*)
-> Object 

Parameters

 

type
Type: System.Type
Type to get default value.
mappingSchema (Optional)
Type: CodeJam.Mapping.MappingSchema
An instance of MappingSchema.

Return Value

Type: Object
Default value of the provided Type

See Also

Reference

DefaultValue Class
GetValue Overload
CodeJam.Mapping Namespace

Clone this wiki locally