WithItem
Overview
WithItem is a storage class used by WithStatement to define variables, their types and the initial value a with statement is used on.
Location
- Reference: RemObjects.Elements.Cirrus.dll
- Namespace: RemObjects.Elements.Cirrus.Statements
constructor
Create a new instance of this class
constructor
WithItem()
init()
WithItem()
Sub New()
Create a new instance of this class
Parameters:
- aName: Name of the with, optional
- aType: type of the with, if not set it's inferred
- aValue: value for this with item
- aMatching: if true, only runs if the value is <> nil and of that type
Matching
Only run the with if the value is not nil
property Matching: Boolean read write;
Boolean Matching { get; set; }
var Matching: Boolean { get{} set{} }
Boolean Matching { __get; __set; }
Property Matching() As Boolean
Name
Local variable name of this with item
property Name: String read write;
String Name { get; set; }
var Name: String { get{} set{} }
String Name { __get; __set; }
Property Name() As String
Type
Type of this with item
property Type: IType read write;
IType Type { get; set; }
var Type: IType { get{} set{} }
IType Type { __get; __set; }
Property Type() As IType
Value
Value
Matching
Only run the with if the value is not nil
property Matching: Boolean read write;
Boolean Matching { get; set; }
var Matching: Boolean { get{} set{} }
Boolean Matching { __get; __set; }
Property Matching() As Boolean
Name
Local variable name of this with item
property Name: String read write;
String Name { get; set; }
var Name: String { get{} set{} }
String Name { __get; __set; }
Property Name() As String
Type
Type of this with item
property Type: IType read write;
IType Type { get; set; }
var Type: IType { get{} set{} }
IType Type { __get; __set; }
Property Type() As IType
Value
Value
constructor
Create a new instance of this class
constructor
WithItem()
init()
WithItem()
Sub New()
Create a new instance of this class
Parameters:
- aName: Name of the with, optional
- aType: type of the with, if not set it's inferred
- aValue: value for this with item
- aMatching: if true, only runs if the value is <> nil and of that type