XPMemberInfo.GetAssociatedProperty() Method
In This Article
OBSOLETE
Use Get
Gets the property metadata which is associated with the current XPMemberInfo object.
Namespace: DevExpress.Xpo.Metadata
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
[Obsolete("Use GetAssociatedMember method instead", true)]
public XPMemberInfo GetAssociatedProperty()
#Returns
Type | Description |
---|---|
XPMember |
An XPMember |
#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