Skip to main content

XPTypeInfo.FindAttributeInfo(String) Method

Searches for an attribute with the specified name.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v21.2.dll


public Attribute FindAttributeInfo(
    string attributeName


Name Type Description
attributeName String

A String value that specifies the name of the attribute to search for.


Type Description

A Attribute descendant with the specified name. null (Nothing in Visual Basic) if an attribute with the specified name isn’t found.


Use the XPTypeInfo.HasAttribute method to determine whether the XPTypeInfo.Attributes collection contains an attribute with the specified name.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FindAttributeInfo(String) method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also