Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IObjectFactory.GetType Method

Determine the type of the object with the given name.

[Visual Basic]
Public Sub GetType( _
   ByVal name As String _
)
[C#]
Type GetType(
   string name
);

Parameters

name
The name of the object to query.

Return Value

The type of the object or if not determinable.

Remarks

More specifically, checks the type of object that GetObject would return. For an IFactoryObject, returns the type of object that the IFactoryObject creates.

See Also

IObjectFactory Interface | Spring.Objects.Factory Namespace