Sansar Docs
Ask or search…
⌃K

MinEntriesAttribute

MinEntriesAttribute Class

Set the Minimum number of array values allowed.

Syntax

[System.AttributeUsage(System.AttributeTargets.Field)] public class MinEntriesAttribute : Attribute​

Member Details

MinEntriesAttribute Constructor

Set the Minimum number of array values allowed.

Syntax

public MinEntriesAttribute (int minCount)
Parameters
minCount

Remarks

Example

C# Example
[MinValues(1)]
public IList<float>floatList;

Requirements

Namespace: Sansar.Script Assembly: Sansar.Script (in Sansar.Script.dll) Assembly Versions: 1.0.0.0

​