Share via


AfDataContainer.get_Attribute Method [AX 2012]

Gets the value of the specified primitive data item.

Syntax

public anytype get_Attribute(str _name)

Run On

Called

Parameters

  • _name
    Type: str
    The name of the data item.

Return Value

Type: anytype
The value of the primitive data item.

Remarks

If the specified data item is present and is of a primitive type, this method returns its value. If the data item is absent or is not of a primitive type, e.g., it is a data container or a data container list, then this method returns null Nothing nullptr unit a null reference (Nothing in Visual Basic) .

See Also

Reference

AfDataContainer Class