ITypeReference Interface

From The Oxygene Language Wiki

Jump to:navigation, search

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


ITypeReference = public interface (IType, IAttributesProvider, IGenericParametersProvider)

The ITypeReference type points to an external (defined in another assembly) or internal (defined in this assembly) type. This interface can be used to query information about it. The members defined on this type can be found through the IType Interface.


Namespace: Cirrus


Members

Method
Description
GetClassConstructor: IMethodReturns the class constructor for this class, if any


Properties

Property
Description
EnumUnderlyingType: ITypeReturns the sub type of an enum type, usually this is an Int32, though other integer types are supported, too
Nested: BooleanReturns true if this type is nested
NestedIn: ITypeReturns the class this type is nested in
Sealed: BooleanReturns true if this is a sealed class
TypeKind: TypeDefKindReturns the type kind of this type
Visibility: VisibilityReturns the member visibility of this type, for nested types this can be any of the values in the enum. For regular types only Private and Public are valid values


See Also

Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox