Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TypedStringValue Constructor

Creates a new instance of the TypedStringValue class.

[Visual Basic]
Public Overloads Sub New( _
   ByVal value As String, _
   ByVal targetType As Type _
)
[C#]
TypedStringValue(
   string value,
   Type targetType
);

Parameters

value
The value that is to be converted.
targetType
The Type to convert to.

Exceptions

Exception Type Condition
ArgumentNullException If the supplied targetType is a null reference (Nothing in Visual Basic).

See Also

TypedStringValue Class | Spring.Objects.Factory.Config Namespace | TypedStringValue Constructor Overload List