Skip to content

M_CodeJam_Mapping_DefaultValue_GetValue

andrewvk edited this page Jun 23, 2016 · 5 revisions

DefaultValue.GetValue Method (Type, MappingSchema)

[This is preliminary documentation and is subject to change.]

Gets default value for provided Type.

Namespace: CodeJam.Mapping
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.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