Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectWrapper.GetPropertyValue(IExpression) Method

Gets the value of a property.

[Visual Basic]
Public Overridable Overloads Sub GetPropertyValue( _
   ByVal propertyExpression As IExpression _
)
[C#]
public virtual object GetPropertyValue(
   IExpression propertyExpression
);

Parameters

propertyExpression
The property expression that should be used to retrieve the property value.

Return Value

The value of the property.

Exceptions

Exception Type Condition
FatalObjectException If there is no such property, if the property isn't readable, or if getting the property value throws an exception.

See Also

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