Interface IMaximumSelectionProperty
This interface returns the maximum selections that are allowed for a field (or null if no maximum is defined). This property is supported natively by the UserGroupsList and ValuesList fields, and is supported by proxy on Attachment and Image fields (returning their native "MaxAttachmentsAllowed" property) as well as the reference fields (Cross Reference, Related Records and Subform) returning their native "MaxValue" property. This "proxy" behavior is intended to simplify cases where the code only cares about how many things can be referenced by the field (e.g. values, images, related records) without having to first identify the field type in order to decide which property contains that information. In short, if a field object supports the IMaximumSelectionProperty interface, MaximumSelection will let you know a) that it's a field capable of referencing some other entity (e.g. a values list value, an attachment or image, or another record in Archer) as well as how many of those entities are allowed for each record.
Inherited Members
Namespace: Estrelica.Archer.Metadata.Field.Properties
Assembly: Estrelica.Interfaces.dll
Syntax
[StayPublic]
[DoNotObfuscateType]
public interface IMaximumSelectionProperty : IArcherField, IArcherEntity, IDictionary<string, object>, ICollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable, IComparable, IEquatable<IArcherEntity>, IArcherGuidEntity, IArcherNamedEntity, IArcherAliasedEntity, IArcherDescribedEntity, IArcherUpdateInfoEntity, IArcherASOEntity, IArcherEntityBase, IArcherBase