FieldAccessorIsReadOnly Property
Gets whether the field is read-only.
Namespace: KGySoft.ReflectionAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public bool IsReadOnly { get; }
Public ReadOnly Property IsReadOnly As Boolean
Get
public:
property bool IsReadOnly {
bool get ();
}
member IsReadOnly : bool with get
Property Value
Boolean Even if this property returns
the
FieldAccessor is able to set the field,
except if the .NET Standard 2.0 build of the
KGySoft.CoreLibraries assembly is used and the field is an instance field of a value type,
in which case doing so throws a
PlatformNotSupportedException.