Infer.NET Documentation
AddAttribute Method (attr)
Infer.NET code documentationMicrosoftResearch.Infer.ModelsVariableAddAttribute(Object)
Microsoft Research, Cambridge
Adds an attribute to this variable. Attributes can be used to modify how inference is performed on this variable.
Declaration Syntax
C#Visual BasicVisual C++
public void AddAttribute(
	Object attr
)
Public Sub AddAttribute ( _
	attr As Object _
)
public:
void AddAttribute(
	Object^ attr
)
Parameters
attr (Object)
The attribute to add

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