Click or drag to resize
FieldInfoIsInitOnly Property
Gets a value indicating whether the field can only be set in the body of the constructor.

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public bool IsInitOnly { get; }

Return Value

Type: Boolean
true if the field has the InitOnly attribute set; otherwise, false.
See Also