Infer.NET Documentation
GetAttributes<(Of <(AttributeType>)>) Method
Infer.NET code documentationMicrosoftResearch.Infer.ModelsVariableGetAttributes<(Of <(AttributeType>)>)()()()
Microsoft Research, Cambridge
Get all attributes of this variable having type AttributeType.
Declaration Syntax
C#Visual BasicVisual C++
public IEnumerable<AttributeType> GetAttributes<AttributeType>()
Public Function GetAttributes(Of AttributeType) As IEnumerable(Of AttributeType)
public:
generic<typename AttributeType>
IEnumerable<AttributeType>^ GetAttributes()
Generic Template Parameters
AttributeType
Return Value

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