ResourceProperty.CanReflectOnInstanceTypeProperty Property

Gets a value that indicates whether this property can be accessed through reflection on the declaring resource instance type.

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

Syntax

'Declaration
Public Property CanReflectOnInstanceTypeProperty As Boolean 
    Get 
    Set
'Usage
Dim instance As ResourceProperty 
Dim value As Boolean 

value = instance.CanReflectOnInstanceTypeProperty

instance.CanReflectOnInstanceTypeProperty = value
public bool CanReflectOnInstanceTypeProperty { get; set; }
public:
property bool CanReflectOnInstanceTypeProperty {
    bool get ();
    void set (bool value);
}
member CanReflectOnInstanceTypeProperty : bool with get, set
function get CanReflectOnInstanceTypeProperty () : boolean 
function set CanReflectOnInstanceTypeProperty (value : boolean)

Property Value

Type: System.Boolean
true when the property can be accessed through reflection; otherwise false.

Remarks

When the CanReflectOnInstanceTypeProperty property returns true, the data service runtime uses reflection to get the property information on the declaring.InstanceType of the ResourceType.

When the CanReflectOnInstanceTypeProperty property returns false, the data service runtime uses the IDataServiceQueryProvider interface to get or set this property value.

See Also

Reference

ResourceProperty Class

System.Data.Services.Providers Namespace