Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ReflectionUtils.ToInterfaceArray Method

Convenience method to convert an interface Type to a Type array that contains all the interfaces inherited and the specified interface.

[Visual Basic]
Public Shared Sub ToInterfaceArray( _
   ByVal intf As Type _
public static Type[] ToInterfaceArray(
   Type intf


The interface to convert.

Return Value

An array of interface Types.


Exception Type Condition
ArgumentException If the Type specified is not an interface.
ArgumentNullException If intf is a null reference (Nothing in Visual Basic).

See Also

ReflectionUtils Class | Spring.Util Namespace