Condividi tramite


ResourceProperty.CanReflectOnInstanceTypeProperty Proprietà

Definizione

Ottiene un valore che indica se l'accesso a questa proprietà può essere eseguito tramite reflection sul tipo di istanza della risorsa dichiarante.

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

Valore della proprietà

true se la proprietà può essere accessibile tramite reflection; in caso contrario, false.

Commenti

Quando la CanReflectOnInstanceTypeProperty proprietà restituisce true, il runtime del servizio dati usa la reflection per ottenere le informazioni sulla proprietà sulla dichiarazione.InstanceTypeResourceType

Quando la CanReflectOnInstanceTypeProperty proprietà restituisce false, il runtime del servizio dati usa l'interfaccia IDataServiceQueryProvider per ottenere o impostare questo valore di proprietà.

Si applica a