IMemberInfo Members

Declares members implemented by classes that supply metadata information on members of a type.

Properties

Name Description
AssociatedMemberInfo

Supplies metadata on the member involved in an association with the current member.

Attributes
(Inherited from IBaseInfo)
BindingName

Specifies the property descriptor used to bind to the current member.

DisplayName

Specifies the member's display name.

Expression

Gets an expression used to calculate the member value if the member is calculated (see IModelMember.IsCalculated).

IsAggregated

Indicates whether the member references aggregated objects.

IsAliased

Indicates whether the member is a persistent alias.

IsAssociation

Indicates whether the member is involved in a one-to-many or many-to-many association.

IsAutoGenerate

Indicates whether the member is the auto-generated key.

IsCustom

Gets a value that indicates if the member specified by the IMemberInfo object is custom (see Use Metadata to Customize Business Classes Dynamically).

IsDelayed

If the current member is a property, indicates whether it is marked as delayed.

IsInStruct

Indicates whether the member is declared within a structure.

IsKey

Indicates whether the member is the key member.

IsList

Indicates whether the member represents a list.

IsManyToMany

Indicates whether the member is involved in a many-to-many association.

IsPersistent

Indicates whether the member is persistent.

IsProperty

Indicates whether the member is a property.

IsPublic

Indicates whether the member is public.

IsReadOnly

Indicates whether the member is read-only.

IsReferenceToOwner

Indicates whether the current property holds a reference to an object which owns aggregated objects.

IsService

Indicates whether the member is a service member that supports XAF infrastructure.

IsVisible

Indicates whether the member is visible in the Application Model.

LastMember

Supplies metadata on the last property in the IMemberInfo.BindingName property descriptor.

ListElementType

If the current member is a list, specifies the type of the elements contained in it.

ListElementTypeInfo

If the current member is a list, supplies metadata on the type of the elements contained in it.

MemberType

Specifies the member's type.

MemberTypeInfo

Supplies metadata on the current member's type.

Name

Specifies the member's name.

Owner

Supplies metadata on the type in which the current member is declared.

Size

Specifies the maximum number of characters that can be stored in a database field to which the current string property is mapped.

ValueMaxLength

This property is intended for internal use.

Methods

Name Description
AddAttribute(Attribute)

Dynamically associates an attribute to the current type at run time.

(Inherited from IBaseInfo)
AddAttribute(Attribute, Boolean)

Dynamically associates the specified attribute with the current member.

AddExtender<T>(T) Extends the current IBaseInfo object with additional metadata.
(Inherited from IBaseInfo)
DeserializeValue(String)

Deserializes an object's member value from a string.

FindAttribute<AttributeType>()

Indicates whether an attribute specified by the generic type parameter is associated with the type represented by the current IBaseInfo object.

(Inherited from IBaseInfo)
FindAttribute<AttributeType>(Boolean)

Indicates whether an attribute specified by the generic type parameter is associated with the type represented by the current IBaseInfo object.

(Inherited from IBaseInfo)
FindAttributes<AttributeType>()

Returns the attributes of the type specified by the generic type parameter, associated with the type represented by the current IBaseInfo object.

(Inherited from IBaseInfo)
FindAttributes<AttributeType>(Boolean)

Returns the attributes of the type specified by the generic type parameter, associated with the type represented by the current IBaseInfo object.

(Inherited from IBaseInfo)
GetExtender<T>()

Provides access to additional metadata.

(Inherited from IBaseInfo)
GetOwnerInstance(Object)

Returns an object referenced by a specific object, containing the last property defined in the IMemberInfo.BindingName property descriptor.

GetPath()

Returns the properties that form the current property's IMemberInfo.BindingName.

GetValue(Object)

Retrieves the member's value.

SerializeValue(Object)

Serializes an object's member value into a string.

SetValue(Object, Object)

Changes the member's value.

See Also