Table of Contents

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 XPClassInfo

An XPClassInfo descendant which owns a new instance of the ReflectionPropertyInfo class. This value is assigned to the XPMemberInfo.Owner property.

propertyInfo PropertyInfo

A PropertyInfo object which provides access to property metadata.

valueParent XPMemberInfo

An XPMemberInfo object which represents the value parent.

Properties

CanPersist

protected override bool CanPersist { get; }

Property Value

bool

CanUseFastAccessors

protected override bool CanUseFastAccessors { get; }

Property Value

bool

Info

protected override MemberInfo Info { get; }

Property Value

MemberInfo

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

Type

The Type of this property.

Methods

CreateAccessorInternal()

protected override IFieldAccessor CreateAccessorInternal()

Returns

IFieldAccessor