UsingStatement Class
From The Oxygene Language Wiki
This is a Language topic
Feel free to add your notes to this topic below.
[Serializable] UsingStatement = public class(Statement)
This Cirrus class wraps a using statement, using adds a try/finally and calls IDisposable.Dispose on the value passed. The Value passed here has to implement IDisposable. The name/type is the temporary variable introduced to store the value.
Namespace: Cirrus Statements
Members
| | |
|---|---|
| constructor(aValue: Value; aBody: Statement; aName: String; aType: IType) | Creates a new instance of this class |
| constructor | Creates a new instance of this class |
Properties
| | |
|---|---|
| Body: Statement | Body statement |
| Name: String | Name of the optionally introduced local for this with |
| Type: IType | Type of the optionally introduced local |
| Value: Value | Value for this using statement, this will be disposed at the end of the statement |
See Also
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
- Statement Class
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To