IUpdatable.GetValue Method (Object, String)


Gets the value of the specified property on the target object.

Namespace:   System.Data.Services
Assembly:  System.Data.Services (in System.Data.Services.dll)

object GetValue(
	object targetResource,
	string propertyName


Type: System.Object

An opaque object that represents a resource.

Type: System.String

The name of the property whose value needs to be retrieved.

Return Value

Type: System.Object

The value of the object.

This method is called for scalar properties or complex properties. For a scalar property, the returned object should be the actual value.

.NET Framework
Available since 3.5
Return to top