Skip to content

M_CodeJam_Mapping_ConvertTo_1_From__1

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

ConvertTo(TTo).From(TFrom) Method

Converts an object from the TFrom type to the TTo.

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

Syntax

C#

public static TTo From<TFrom>(
	TFrom o
)

VB

Public Shared Function From(Of TFrom) ( 
	o As TFrom
) As TTo

F#

static member From : 
        o : 'TFrom -> 'TTo 

Parameters

 

o
Type: TFrom
An object to convert.

Type Parameters

 

TFrom
[Missing documentation for "M:CodeJam.Mapping.ConvertTo`1.From1(0)"]

Return Value

Type: TTo
Converted object.

Examples

ConvertTo.From("123");

See Also

Reference

ConvertTo(TTo) Class
CodeJam.Mapping Namespace

Clone this wiki locally