Type.EmptyTypes Field

 

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

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

Public Shared ReadOnly EmptyTypes As Type()

Field Value

Type: System.Type()

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, _
   Nothing, Type.EmptyTypes, Nothing)

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: