Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IConfigurableListableObjectFactory.GetObjectDefinition(String) Method

Return the registered IObjectDefinition for the given object, allowing access to its property values and constructor argument values.

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


The name of the object.

Return Value

The registered IObjectDefinition.


Exception Type Condition
NoSuchObjectDefinitionException If there is no object with the given name.
ObjectsException In the case of errors.

See Also

IConfigurableListableObjectFactory Interface | Spring.Objects.Factory.Config Namespace | IConfigurableListableObjectFactory.GetObjectDefinition Overload List