Skip to content

PropertyInfoExtensions.EnumerateOverloads Method ​

Definition ​

Enumerates the overloads of the specified property that are declared in the same type. Only indexer properties can be overloaded.

c#
public static IEnumerable<PropertyInfo> EnumerateOverloads(this PropertyInfo property);

View source

Parameters ​

NameTypeDescription
propertyPropertyInfoThe property.

Returns ​

IEnumerable<PropertyInfo>

The overloads of property declared in the same type; will be empty if the property is not overloaded or is not an indexer property.