Class UpperBoundAttribute
Denotes that the underlying collection has an upper bound
[AttributeUsage(AttributeTargets.Property)]
public class UpperBoundAttribute : Attribute
- Inheritance
-
UpperBoundAttribute
- Inherited Members
Constructors
UpperBoundAttribute(int)
Creates a new instance
public UpperBoundAttribute(int upperBound)
Parameters
upperBound
intthe upper bound
Properties
UpperBound
Gets the upper bound
public int UpperBound { get; set; }