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)

Syntax

'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)
Object GetValue(
    Object targetResource,
    string propertyName
)
Object^ GetValue(
    Object^ targetResource, 
    String^ propertyName
)
abstract GetValue : 
        targetResource:Object * 
        propertyName:string -> Object
function GetValue(
    targetResource : Object, 
    propertyName : String
) : Object

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.

Remarks

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

See Also

Reference

IUpdatable Interface

System.Data.Services Namespace