Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectWrapper.SetPropertyValues(IPropertyValues) Method

Set a number of property values in bulk.

[Visual Basic]
Public Overridable Overloads Sub SetPropertyValues( _
   ByVal pvs As IPropertyValues _
) _
    Implements IObjectWrapper.SetPropertyValues
[C#]
public virtual void SetPropertyValues(
   IPropertyValues pvs
);

Parameters

pvs
The IPropertyValues to set on the target object.

Implements

IObjectWrapper.SetPropertyValues

Remarks

Does not allow unknown fields. Equivalent to SetPropertyValues with a null reference (Nothing in Visual Basic) and for arguments.

Exceptions

Exception Type Condition
NotWritablePropertyException If an error is encountered while setting a property.
PropertyAccessExceptionsException On a Type mismatch while setting a property, insufficient permissions, etc.

See Also

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