Lue englanniksi Muokkaa

Jaa


Type.EmptyTypes Field

Definition

Represents an empty array of type Type. This field is read-only.

C#
public static readonly Type[] EmptyTypes;

Field Value

Type[]

Examples

The following code example shows the EmptyTypes field used in one of the GetConstructor methods to get a constructor that takes no parameters.

C#
cInfo = type.GetConstructor (BindingFlags.ExactBinding, null,
         Type.EmptyTypes, null);

Applies to