FieldDescriptionclass

Describes a field. We use this class to wrap and return FieldInfo's that are safe to interact with. Returned by `Sandbox.Internal.TypeLibrary` and `Sandbox.TypeDescription`.

object→MemberDescription→FieldDescription
Namespace
Sandbox
Assembly
Sandbox.Reflection
Declaration
public sealed class Sandbox.FieldDescription : Sandbox.MemberDescription

Methods2

Showing 2 methods

public object GetValue(object obj)PUBLIC

Get the value of this property on given object.

ParameterTypeDescription
objobject—
Returns:object—

public void SetValue(object obj, object value)PUBLIC

Set the value of this property on given object.

ParameterTypeDescription
objobject—
valueobject—
Returns:void—

Properties3

Showing 3 properties

public virtual bool Sandbox.FieldDescription.IsField { get; set; }PUBLICVIRTUALGETSET

Returns:bool—

public bool Sandbox.FieldDescription.IsInitOnly { get; set; }PUBLICGETSET

Returns:bool—

On this page