Edit

Share via


ResourceProperty.CanReflectOnInstanceTypeProperty Property

Definition

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

public:
 property bool CanReflectOnInstanceTypeProperty { bool get(); void set(bool value); };
public bool CanReflectOnInstanceTypeProperty { get; set; }
member this.CanReflectOnInstanceTypeProperty : bool with get, set
Public Property CanReflectOnInstanceTypeProperty As Boolean

Property Value

true if 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.

Applies to