This documentation is archived and is not being maintained.

IUpdatable.GetValue Method

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
)

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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1
Show: