EntityFrameworkDataServiceProvider.GetValue Method
Gets the value of the given property on the target object
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Overridable Function GetValue ( _
targetResource As Object, _
propertyName As String _
) As Object
'Usage
Dim instance As EntityFrameworkDataServiceProvider
Dim targetResource As Object
Dim propertyName As String
Dim returnValue As Object
returnValue = instance.GetValue(targetResource, _
propertyName)
public virtual Object GetValue(
Object targetResource,
string propertyName
)
public:
virtual Object^ GetValue(
Object^ targetResource,
String^ propertyName
)
abstract GetValue :
targetResource:Object *
propertyName:string -> Object
override GetValue :
targetResource:Object *
propertyName:string -> Object
public function GetValue(
targetResource : Object,
propertyName : String
) : Object
Parameters
- targetResource
Type: System.Object
target object which defines the property
- propertyName
Type: System.String
name of the property whose value needs to be updated
Return Value
Type: System.Object
the value of the property for the given target resource
Implements
IUpdatable.GetValue(Object, String)