PropertyInfoExtensions.GetBaseDefinition Method
Definition
If the specified PropertyInfo overrides a property in a base class then this returns the base PropertyInfo, otherwise it returns the specified PropertyInfo.
public static PropertyInfo GetBaseDefinition(this PropertyInfo property);
Parameters
Name | Type | Description |
---|---|---|
property | The property. |
Returns
The PropertyInfo in the base class property
overrides, otherwise property
.
Last modified: 17 December 2024