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
XPClassInfoAn XPClassInfo descendant which will own the created instance. This value is assigned to the XPMemberInfo.Owner property.
fieldInfo
FieldInfoA FieldInfo object which provides access to field metadata.
valueParent
XPMemberInfoAn XPMemberInfo object which represents the value parent.
Properties
CanPersist
protected override bool CanPersist { get; }
Property Value
Info
protected override MemberInfo Info { get; }
Property Value
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; }