Obtains the value of a property or field on a specific instance.

Namespace: Castle.Components.Validator
Assembly:  Castle.Components.Validator (in Castle.Components.Validator.dll)
Version: 1.0.3.0

Syntax

C#
public Object GetFieldOrPropertyValue(
	Object instance,
	string fieldOrPropertyName
)

Parameters

instance
Object
The instance to inspect.
fieldOrPropertyName
String
The name of the field or property to inspect.

Return Value

See Also