Overview | Methods | This Package | All Packages
Retrieves the first attribute in the attributes collection of the specified type.
Syntax
public MemberAttribute getAttribute( Class attributeClass )
Parameters
attributeClass
The type of the attribute; for example, DefaultValueAttribute.class or LocalizableAttribute.class. (All attributes extend MemberAttribute.)
Return Value
Returns a MemberAttribute object that represents the attribute. If no attribute of the specified type is found, null is returned.
See Also getCategory, getDescription, getHelpURL, getHelpTopic