Supplies metadata on the current type's default member.
An IMemberInfo object that supplies metadata on the current type's default member.
The default member is the property to which the DefaultPropertyAttribute is applied. If this attribute is not applied to any business class' properties (including inherited properties), a property called "Name" is searched for, to be set as the default. If this property cannot be found, the property specified by the FriendlyKeyPropertyAttribute is considered the default. If the FriendlyKeyPropertyAttribute is not applied to any property, the property that uses the KeyAttribute is searched for. If there is none, the default key property is considered the default.
If a property is the default, then:
- It is displayed in Lookup Property Editors.
- It takes part in form caption generation.
- It is used in the FullTextSearch Action's engine.
- It is displayed first in List Views.