PropertyInfoExtensions.IsPublicOrProtected Method
Definition
Returns true if the property is public or protected as viewed from an external assembly, i.e. its Accessibility is Public, Protected or ProtectedInternal; false otherwise.
public static bool IsPublicOrProtected(this PropertyInfo property);
Parameters
Name | Type | Description |
|---|---|---|
property | The property. |
Returns
true if property is Public, Protected or ProtectedInternal; false otherwise.
Last modified: 17 December 2024