FieldInfoExtensions.IsConst Method
Definition
Returns true
if the field is const; false
otherwise.
public static bool IsConst(this FieldInfo field);
Parameters
Name | Type | Description |
---|---|---|
field | The field. |
Returns
true
if the field is const; false
otherwise.
Remarks
Equivalent to IsLiteral.
Last modified: 17 December 2024