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:  System.Data.Services (in System.Data.Services.dll)

public bool CanReflectOnInstanceTypeProperty { get; set; }

Property Value

Type: System.Boolean

true when the property can be accessed through reflection; otherwise false.

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.

.NET Framework
Available since 3.5
Return to top
Show: