Sansar Docs
Ask or search…
⌃K

Locked Attribute

LockedAttribute Class

Locks the IDictionary or IList properties so entries can not be added or removed.

Syntax

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

Member Details

LockedAttribute Constructor

Locks the IDictionary or IList properties so entries can not be added or removed.

Syntax

public LockedAttribute ()

Remarks

Example

C# Example
[Locked]
public IList<float>floatList;

Requirements

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