XPMemberInfo.GetAssociatedProperty() Method
OBSOLETE
Use GetAssociatedMember() method instead
Gets the property metadata which is associated with the current XPMemberInfo object.
Namespace: DevExpress.Xpo.Metadata
Assembly: DevExpress.Xpo.v24.2.dll
Declaration
Returns
Type | Description |
---|---|
XPMemberInfo | An XPMemberInfo object that provides property metadata which is associated with the current object. |
Remarks
A property is associated with another property if both conditions are met:
- both properties have the AssociationAttribute with the same value for their AssociationAttribute.Name parameters;
- an instance of the class where the property is declared can be assigned to an instance of another property.
If the property which is associated with the current property isn’t found, a PropertyMissingException is thrown.
See Also