FieldInfoIsInitOnly Property |
Gets a value indicating whether the field can only be set in the body of the constructor.
Namespace: System.ReflectionAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public bool IsInitOnly { get; }
Return Value
Type:
Booleantrue if the field has the InitOnly attribute set; otherwise, false.
See Also