ReflectionDataServiceProvider.GetPropertyValue Method

Get the value of the strongly typed property.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Overridable Function GetPropertyValue ( _
    target As Object, _
    resourceProperty As ResourceProperty _
) As Object
'Usage
Dim instance As ReflectionDataServiceProvider 
Dim target As Object 
Dim resourceProperty As ResourceProperty 
Dim returnValue As Object 

returnValue = instance.GetPropertyValue(target, _
    resourceProperty)
public virtual Object GetPropertyValue(
    Object target,
    ResourceProperty resourceProperty
)
public:
virtual Object^ GetPropertyValue(
    Object^ target, 
    ResourceProperty^ resourceProperty
)
abstract GetPropertyValue : 
        target:Object * 
        resourceProperty:ResourceProperty -> Object  
override GetPropertyValue : 
        target:Object * 
        resourceProperty:ResourceProperty -> Object
public function GetPropertyValue(
    target : Object, 
    resourceProperty : ResourceProperty
) : Object

Parameters

  • target
    Type: System.Object
    instance of the type declaring the property.

Return Value

Type: System.Object
value for the property.

Implements

IDataServiceQueryProvider.GetPropertyValue(Object, ResourceProperty)

See Also

Reference

ReflectionDataServiceProvider Class

System.Data.Services.Providers Namespace