Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectWrapper.GetPropertyValue(String) Method

Gets the value of a property.

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

Parameters

propertyName
The name of the property to get the value of.

Return Value

The value of the property.

Implements

IObjectWrapper.GetPropertyValue

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