Export (0) Print
Expand All

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.

.NET Framework

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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

Community Additions

ADD
Show:
© 2014 Microsoft