ArrayValue Class
From The Oxygene Language Wiki
This is a Language topic
Feel free to add your notes to this topic below.
[Serializable, DefaultMember('Item')] ArrayValue = public class(Value)
ArrayValue is an in-code array construct: [a,b,c]. This value is used in method calls or plain assignments. While it does not have a type of its own, it checks the result type to find out what the type should be, and checks the members against it. To force an array value to be a specific value, you can use the UnaryValue Class to cast it, it will take on that type then.
Namespace: Cirrus Values
Members
| | |
|---|---|
| constructor(aValue: Value) | Creates a new instance of this class |
| constructor(aFirstValue, aSecondValue: Value) | Creates a new instance of this class |
| constructor(params aValues: array of Value) | Creates a new instance of this class |
| constructor | Creates a new instance of this class |
| Add(aValue: Value) | Adds a new item |
| Remove(aValue: Value) | Removes an item |
| RemoveAt(no: Integer) | Removes an item |
Properties
| | |
|---|---|
| Count: Integer | Returns the number of items in this collection |
| Item[no: Integer]: Value | Gets or sets the value at a given position in the list |
See Also
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
- Value Class
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To