EmptyTypes Field
Collapse the table of content
Expand the table of content

Type.EmptyTypes Field

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public static readonly Type[] EmptyTypes

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


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


Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft