Export (0) Print
Expand All

IUpdatable.GetValue Method

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

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

Object GetValue(
	Object targetResource,
	string propertyName
)

Parameters

targetResource
Type: System.Object
An opaque object that represents a resource.
propertyName
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.

Show:
© 2014 Microsoft