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)

'Declaration
Function GetValue ( _
	targetResource As Object, _
	propertyName As String _
) As Object
'Usage
Dim instance As IUpdatable 
Dim targetResource As Object 
Dim propertyName As String 
Dim returnValue As Object 

returnValue = instance.GetValue(targetResource, _
	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