PropertyInfoExtensions.IsPublic Method
Definition
Returns true if the property is public, that is, its Accessibility is Public; false otherwise.
c#
public static bool IsPublic(this PropertyInfo property);Parameters
| Name | Type | Description |
|---|---|---|
property | PropertyInfo | The property. |
Returns
true if property is Public; false otherwise.