Use GetAssociatedMember() method instead
Gets the property metadata which is associated with the current XPMemberInfo object.
An XPMemberInfo object that provides property metadata which is associated with the current object.
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.