ObjectExtensions..::..GetPropertyValue Method

Gets the property value.

Namespace:  MichaelBrandonMorris.Extensions.PrimitiveExtensions
Assembly:  MichaelBrandonMorris.Extensions.PrimitiveExtensions (in MichaelBrandonMorris.Extensions.PrimitiveExtensions.dll)

Syntax


public static Object GetPropertyValue(
	Object o,
	string propertyName
)
Public Shared Function GetPropertyValue ( _
	o As Object, _
	propertyName As String _
) As Object
public:
static Object^ GetPropertyValue(
	Object^ o, 
	String^ propertyName
)

Parameters

o
Type: Object
The o.
propertyName
Type: String
Name of the property.

Return Value

System.Object.

Exceptions


ExceptionCondition
Exception