Skip to content

M_CodeJam_ValueOneOf_3_Create

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

ValueOneOf(T1, T2, T3).Create Method (T1)

Creates instance of OneOf(T1, T2, T3) for value of type T1.

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static ValueOneOf<T1, T2, T3> Create(
	T1 value
)

VB

Public Shared Function Create ( 
	value As T1
) As ValueOneOf(Of T1, T2, T3)

F#

static member Create : 
        value : 'T1 -> ValueOneOf<'T1, 'T2, 'T3> 

Parameters

 

value
Type: T1
Value of type T1 to create instance from.

Return Value

Type: ValueOneOf(T1, T2, T3)
Value of ValueOneOf(T1, T2, T3).

See Also

Reference

ValueOneOf(T1, T2, T3) Structure
Create Overload
CodeJam Namespace

Clone this wiki locally