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.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
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