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.
c#
public static PropertyInfo GetBaseDefinition(this PropertyInfo property);Parameters
| Name | Type | Description |
|---|---|---|
property | PropertyInfo | The property. |
Returns
The PropertyInfo in the base class property overrides, otherwise property.