ReadOnlyAttribute


Declaration

[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public class ReadOnlyAttribute : PropertyAttribute

Description

An attribute that prevents a field from being modified in the editor.