Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectUtils.GetZeroArgConstructorInfo Method

Gets the zero arg ConstructorInfo object, if the type offers such functionality.

[Visual Basic]
Public Shared Sub GetZeroArgConstructorInfo( _
   ByVal type As Type _
public static ConstructorInfo GetZeroArgConstructorInfo(
   Type type


The type.

Return Value

Zero argument ConstructorInfo


Exception Type Condition
FatalReflectionException If the type is an interface, abstract, open generic type, or does not have a zero-arg constructor.

See Also

ObjectUtils Class | Spring.Util Namespace