NewValue Class

From The Oxygene Language Wiki

Jump to:navigation, search

This is a Language topic
Feel free to add your notes to this topic below.


[Serializable]
NewValue = public class(ParameterizedValue)

NewValue is a value class used to instantiate a new instance of a class. When you create a new instance, make sure the type passed is a closed generic type, one with all its generic parameters filled in.

Namespace: Cirrus Values


Members

Method
Description
constructor(aType: IType)Create a new instance of this class
constructor(aType: IType; params aParameters: array of Value)Create a new instance of this class
constructor(aType: IType; aParameters: array of Value; aNamedParameters: array of KeyValuePair<String, Value>)Create a new instance of this class
constructorCreate a new instance of this class


Properties

Property
Description
NamedArguments: array of Generic.KeyValuePair<string, Value>Named parameters to pass after calling the constructor
Type: ITypeGets or sets the type to instantiate


See Also


Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox