Click or drag to resize

ValueRef.Create<T> Method

Creates a ValueRef<T> instance with the given value.

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
public static ValueRef<T> Create<T>(
	T value = null
)
where T : struct, new()

Parameters

value  T  (Optional)
The value to assign to the instance.

Type Parameters

T
The value type.

Return Value

ValueRef<T>
A ValueRef<T> instance holding the given value.
See Also