IGenericParameterType Interface
From The Oxygene Language Wiki
This is a Language topic
Feel free to add your notes to this topic below.
IGenericParameterType = public interface (IType)
A generic parameter type defintion. This IType interface can be used to query information about a generic parameter type.
Namespace: Cirrus
Members
| | |
|---|---|
| GetConstraint(no: Integer): IType | Returns a contraint |
Properties
| | |
|---|---|
| ConstraintCount: Integer | Returns the number of constraints |
| HasEmptyConstructor: Boolean | Returns true if this generic parameter has the parameterless constructor constraint |
| IsReferenceType: Boolean | Returns true if this generic parameter has a reference type constraint |
| IsValueType: Boolean | Returns true if this generic parameter has a value type constraint |
| Variance: GenericParameterVariance | Returns the variance |
See Also
- Cirrus
- External Links:
- Prism Aspects to Help with Monobjc Development (RemObjects Blogs)
- IType Interface
Area: Oxygene Language
Compiler version: Oxygene 5
Language Glossary — Keywords — Types — FAQ — How To