Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConstructorArgumentValues.GetArgumentValue(Int32, Type) Method

Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by Type.

[Visual Basic]
Public Overridable Overloads Sub GetArgumentValue( _
   ByVal index As Integer, _
   ByVal requiredType As Type _
public virtual ValueHolder GetArgumentValue(
   int index,
   Type requiredType


The index in the constructor argument list.
The Type to match.

Return Value

The ConstructorArgumentValues.ValueHolder for the argument, or a null reference (Nothing in Visual Basic) if none is set.

See Also

ConstructorArgumentValues Class | Spring.Objects.Factory.Config Namespace | ConstructorArgumentValues.GetArgumentValue Overload List