Mono Class Library: System.Type Overview | Members

System.Type.TypeInitializer Property

Gets the initializer for the type represented by the current instance.

[System.Runtime.InteropServices.ComVisible(true)]
public System.Reflection.ConstructorInfo TypeInitializer { get; }

Value

A System.Reflection.ConstructorInfo containing the name of the static constructor for the type represented by the current instance

Remarks

This property is read-only.

Note: Type initializers are available through Type.GetMember(string), Type.GetMembers, and Type.GetConstructors.

If the current instance represents an unassigned type parameter of a generic type or method, this property returns null.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0