Condividi tramite


Proprietà ResourceProperty.CanReflectOnInstanceTypeProperty

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

Spazio dei nomi  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Sintassi

'Dichiarazione
Public Property CanReflectOnInstanceTypeProperty As Boolean
    Get
    Set
'Utilizzo
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)

Valore proprietà

Tipo: System.Boolean
true quando l'accesso alla proprietà può essere eseguito tramite reflection; in caso contrario false.

Osservazioni

Quando la proprietà CanReflectOnInstanceTypeProperty restituisce true, il runtime del servizio dati utilizza la reflection per ottenere informazioni sulla proprietà nella dichiarazione.InstanceType di ResourceType.

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

Vedere anche

Riferimento

ResourceProperty Classe

Spazio dei nomi System.Data.Services.Providers