System.Web.UI.DataBinder.GetPropertyValue Method

Retrieves the value of the specified property of the specified object.

Syntax

public static object GetPropertyValue (object container, string propName)

Parameters

container
The object that contains the property.
propName
The name of the property that contains the value to retrieve.

Returns

The value of the specified property.

Remarks

The DataBinder.GetPropertyValue(object, string) method is used to retrieve the value of a property in an object.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0