iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

TypeRegistry.ResolveType Method 

Resolves the supplied alias to a Type.

[Visual Basic]
Public Shared Function ResolveType( _
   ByVal String As String _
) As Type
[C#]
public static Type ResolveType(
   String alias
);

Parameters

alias
The alias to resolve.

Return Value

The Type the supplied alias was associated with, or if no Type was previously registered for the supplied alias.

Remarks

The alis name will be convert in lower character before the resolution.

Exceptions

Exception Type Condition
ArgumentNullException If the supplied alias is a null reference (Nothing in Visual Basic) or contains only whitespace character(s).

See Also

TypeRegistry Class | IBatisNet.Common.Utilities.TypesResolver Namespace