Class ReflectionPropertyInfo
- Namespace
- DevExpress.Xpo.Metadata
- Assembly
- DevExpress.Xpo.v24.1.dll
Provides access to property metadata gathered via Reflection.
public sealed class ReflectionPropertyInfo : ReflectionMemberInfo, IFieldAccessor
- Inheritance
-
ReflectionPropertyInfo
- Implements
- Inherited Members
Constructors
ReflectionPropertyInfo(XPClassInfo, PropertyInfo, XPMemberInfo)
Initializes a new instance of the ReflectionPropertyInfo class.
public ReflectionPropertyInfo(XPClassInfo owner, PropertyInfo propertyInfo, XPMemberInfo valueParent)
Parameters
owner
XPClassInfoAn XPClassInfo descendant which owns a new instance of the ReflectionPropertyInfo class. This value is assigned to the XPMemberInfo.Owner property.
propertyInfo
PropertyInfoA PropertyInfo object which provides access to property metadata.
valueParent
XPMemberInfoAn XPMemberInfo object which represents the value parent.
Properties
CanPersist
protected override bool CanPersist { get; }
Property Value
CanUseFastAccessors
protected override bool CanUseFastAccessors { get; }
Property Value
Info
protected override MemberInfo Info { get; }
Property Value
IsPublic
Gets whether the property is declared as public.
public override bool IsPublic { get; }
Property Value
- bool
true if the property is declared as public; otherwise, false.
MemberType
Gets the type of this property.
public override Type MemberType { get; }
Property Value
Methods
CreateAccessorInternal()
protected override IFieldAccessor CreateAccessorInternal()