Table of Contents

Class ReflectionFieldInfo

Namespace
DevExpress.Xpo.Metadata
Assembly
DevExpress.Xpo.v24.1.dll

Provides access to field metadata gathered via Reflection.

public sealed class ReflectionFieldInfo : ReflectionMemberInfo, IFieldAccessor
Inheritance
ReflectionFieldInfo
Implements
Inherited Members

Constructors

ReflectionFieldInfo(XPClassInfo, FieldInfo, XPMemberInfo)

Initializes a new instance of the ReflectionFieldInfo class.

public ReflectionFieldInfo(XPClassInfo owner, FieldInfo fieldInfo, XPMemberInfo valueParent)

Parameters

owner XPClassInfo

An XPClassInfo descendant which will own the created instance. This value is assigned to the XPMemberInfo.Owner property.

fieldInfo FieldInfo

A FieldInfo object which provides access to field metadata.

valueParent XPMemberInfo

An XPMemberInfo object which represents the value parent.

Properties

CanPersist

protected override bool CanPersist { get; }

Property Value

bool

Info

protected override MemberInfo Info { get; }

Property Value

MemberInfo

IsPublic

Indicates whether the field is public.

public override bool IsPublic { get; }

Property Value

bool

true if the field is declared as public; otherwise, false.

MemberType

Gets the type of this field.

public override Type MemberType { get; }

Property Value

Type

The Type of this field.