MaxEntriesAttribute
Last updated
Set the Maximum number of array values allowed.
[System.AttributeUsage(System.AttributeTargets.Field)] public class MaxEntriesAttribute : Attribute
Set the Maximum number of IList or IDictionary allowed.
Syntax
public MaxEntriesAttribute (int maxCount)
Parameters
maxCount
Remarks
Example
C# Example
|
Requirements
Namespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0
Last updated
[MaxValues(1)] public IList<float>floatList;