System.Reflection.FieldInfo.IsLiteral Property

Gets a value indicating whether the value is written at compile time and cannot be changed.

Syntax

public bool IsLiteral { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The IsLiteral property is set when the FieldAttributes.Literal attribute is set. If this attribute is set, the field cannot be changed and is constant.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0