Infer.NET Documentation
Constant<(Of <(T>)>) Method (value)
Infer.NET code documentationMicrosoftResearch.Infer.ModelsVariableConstant<(Of <(T>)>)(T)
Microsoft Research, Cambridge
Defines a constant
Declaration Syntax
C#Visual BasicVisual C++
public static Variable<T> Constant<T>(
	T value
)
Public Shared Function Constant(Of T) ( _
	value As T _
) As Variable(Of T)
public:
generic<typename T>
static Variable<T>^ Constant(
	T value
)
Generic Template Parameters
T
The type of the constant
Parameters
value (T)
The value of the constant
Return Value
The constant object

Assembly: Infer.Compiler (Module: Infer.Compiler) Version: 2.3.41111.0 (2.3.41111.0)