Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

StaticListableObjectFactory.GetType(String) Method

Determine the type of the object with the given name.

[Visual Basic]
Public NotOverridable Overloads Sub GetType( _
   ByVal name As String _
) _
    Implements IObjectFactory.GetType
[C#]
public Type GetType(
   string name
);

Parameters

name
The name of the object to query.

Return Value

The Type of the object or a null reference (Nothing in Visual Basic) if not determinable.

Implements

IObjectFactory.GetType

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

StaticListableObjectFactory Class | Spring.Objects.Factory.Support Namespace | StaticListableObjectFactory.GetType Overload List