Share via


DictClass.getAttribute Method

Gets the first matching attribute from the class header metadata, creates an instance of the Object class that represents it, and returns it.

Syntax

public Object getAttribute(str attribute)

Run On

Called

Parameters

  • attribute
    Type: str
    The attribute for which to search.

Return Value

Type: Object Class
The attribute as an instance of the Object class.

See Also

Reference

DictClass Class