ComponentInfo.getAttributes

Overview | Methods | This Package | All Packages

ComponentInfo.getAttributes

Retrieves the attributes that were specified in the component's ClassInfo.

Syntax

public MemberAttribute[] getAttributes()

public MemberAttribute[] getAttributes( MemberAttribute[] attributes )

Parameters

attributes

An array of MemberAttribute objects that specify which attributes should be retrieved.

Return Value

Returns an array of MemberAttribute objects. If no parameter was passed to getAttributes, all attributes specified in the component's ClassInfo are returned; otherwise, getAttributes returns only those attributes that satisfy the items in the attributes array. (An item in the attributes array is satisfied if it specifies an attribute in the component's ClassInfo or represents the default attribute for that type if the attribute is not specified in the ClassInfo.)

See Also   IClassInfo