Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectWrapper.SetPropertyValue(String, Object) Method

Sets a property value.

[Visual Basic]
Public Overridable Overloads Sub SetPropertyValue( _
   ByVal propertyName As String, _
   ByVal val As Object _
) _
    Implements IObjectWrapper.SetPropertyValue
[C#]
public virtual void SetPropertyValue(
   string propertyName,
   object val
);

Parameters

propertyName
The name of the property to set value of.
val
The new value.

Implements

IObjectWrapper.SetPropertyValue

Remarks

This method is provided for convenience only. The SetPropertyValue method is more powerful.

See Also

ObjectWrapper Class | Spring.Objects Namespace | ObjectWrapper.SetPropertyValue Overload List