Set the Maximum number of array values allowed.
[System.AttributeUsage(System.AttributeTargets.Field)]public class MaxEntriesAttribute : AttributeRemarks
Defaults to 20, which is the system maximum.
Members at a glance
| Kind | Members |
|---|---|
| Constructors | MaxEntriesAttribute |
Constructors
MaxEntriesAttribute
public MaxEntriesAttribute(int maxCount)Set the Maximum number of IList or IDictionary allowed.
| Parameter | Type | Description |
|---|---|---|
maxCount | int |
Remarks
Defaults to 20, which is the system maximum.
Example
[MaxValues(1)]public IList<float>floatList;Generated from the Sansar 47.10.0 client ScriptApi snapshot.