Api Sandbox FieldDescription
class

FieldDescription

public sealed class FieldDescription : MemberDescription

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

Properties

Name Type Description
IsField virtual Boolean
IsInitOnly Boolean
FieldType Type Property type.

Methods

Object GetValue(Object obj)

Get the value of this property on given object.

Void SetValue(Object obj, Object value)

Set the value of this property on given object.

Assembly: Sandbox.Reflection Namespace: Sandbox Full Name: Sandbox.FieldDescription