Skip to content

M_CodeJam_ValueOneOf_7_Create_1

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

ValueOneOf(T1, T2, T3, T4, T5, T6, T7).Create Method (T2)

Creates instance of OneOf(T1, T2, T3, T4, T5, T6, T7) for value of type T2.

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

Syntax

C#

public static ValueOneOf<T1, T2, T3, T4, T5, T6, T7> Create(
	T2 value
)

VB

Public Shared Function Create ( 
	value As T2
) As ValueOneOf(Of T1, T2, T3, T4, T5, T6, T7)

F#

static member Create : 
        value : 'T2 -> ValueOneOf<'T1, 'T2, 'T3, 'T4, 'T5, 'T6, 'T7> 

Parameters

 

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

Return Value

Type: ValueOneOf(T1, T2, T3, T4, T5, T6, T7)
Value of ValueOneOf(T1, T2, T3, T4, T5, T6, T7).

See Also

Reference

ValueOneOf(T1, T2, T3, T4, T5, T6, T7) Structure
Create Overload
CodeJam Namespace

Clone this wiki locally