Click or drag to resize

ValueRefCreateT Method

Creates a ValueRefT instance with the given value.

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
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

ValueRefT
A ValueRefT instance holding the given value.
See Also