PropertyInfoExtensions.HasPublicOrProtectedOverloads Method
Definition
Returns true if the specified PropertyInfo has public or protected overloads, as viewed from an external assembly, that is, their Accessibility is Public, Protected or ProtectedInternal; false otherwise. Only applies to indexer properties.
c#
public static bool HasPublicOrProtectedOverloads(this PropertyInfo property);Parameters
| Name | Type | Description |
|---|---|---|
property | PropertyInfo | The property. |
Returns
true if property has public or protected overloads; false otherwise.