Condividi tramite


Metodo IUpdatable.GetValue

Ottiene il valore della proprietà specificata sull'oggetto di destinazione.

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

Sintassi

'Dichiarazione
Function GetValue ( _
    targetResource As Object, _
    propertyName As String _
) As Object
'Utilizzo
Dim instance As IUpdatable
Dim targetResource As Object
Dim propertyName As String
Dim returnValue As Object

returnValue = instance.GetValue(targetResource, _
    propertyName)
Object GetValue(
    Object targetResource,
    string propertyName
)
Object^ GetValue(
    Object^ targetResource, 
    String^ propertyName
)
abstract GetValue : 
        targetResource:Object * 
        propertyName:string -> Object 
function GetValue(
    targetResource : Object, 
    propertyName : String
) : Object

Parametri

  • targetResource
    Tipo: System.Object
    Un oggetto opaco che rappresenta una risorsa.
  • propertyName
    Tipo: System.String
    Il nome della proprietà il cui valore deve essere recuperato.

Valore restituito

Tipo: System.Object
Valore dell'oggetto.

Osservazioni

Questo metodo è chiamato per le proprietà scalari o quelle complesse. Per una proprietà scalare, l'oggetto restituito deve essere il valore effettivo.

Vedere anche

Riferimento

IUpdatable Interfaccia

Spazio dei nomi System.Data.Services