Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PropertyPathFactoryObject.ResultType Property

The 'expected' Type of the result from evaluating the property path.

[Visual Basic]
Public WriteOnly Property ResultType() As Type
   Public Set
   End Set
End Property
[C#]
public Type ResultType { public set; }

Property Value

The 'expected' Type of the result from evaluating the property path.

Remarks

This is not necessary for directly specified target objects, or singleton target objects, where the Type can be determined via reflection. Just specify this in case of a prototype target, provided that you need matching by type (for example, for autowiring).

It is permissable to set the value of this property to (which in any case is the default value).

See Also

PropertyPathFactoryObject Class | Spring.Objects.Factory.Config Namespace