FieldInfoExtensions.IsPublic Method
Definition
Returns true if the field is public, that is, its Accessibility is Public; false otherwise.
c#
public static bool IsPublic(this FieldInfo field);Parameters
| Name | Type | Description |
|---|---|---|
field | FieldInfo | The field. |
Returns
true if the field is Public; false otherwise.
Remarks
Equivalent to IsPublic; included for completion.