IMemberInfo.AddAttribute(Attribute, Boolean) Method

Dynamically associates the specified attribute with the current member.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v18.2.dll


void AddAttribute(
    Attribute attribute,
    bool skipRefresh
Sub AddAttribute(
    attribute As Attribute,
    skipRefresh As Boolean


Type Name Description
Attribute attribute

Attribute object that specifies the attribute to be applied.

Boolean skipRefresh

true, if the Types Info Subsystem should not reload information from XPDictionary immediatelly; otherwise, false. If you set skipRefresh to true, then you should call the XafMamberInfo.Refresh method for each updated member.

An example of using this method is provided in the Customize Business Object's Metadata topic.

See Also