Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IObjectDefinitionRegistry.GetObjectDefinition Method

Returns the IObjectDefinition for the given object name.

[Visual Basic]
Public Sub GetObjectDefinition( _
   ByVal name As String _
IObjectDefinition GetObjectDefinition(
   string name


The name of the object to find a definition for.

Return Value

The IObjectDefinition for the given name (never null).


Exception Type Condition
NoSuchObjectDefinitionException If the object definition cannot be resolved.
ObjectsException In case of errors.

See Also

IObjectDefinitionRegistry Interface | Spring.Objects.Factory.Support Namespace