IUpdatable.GetValue Método
Obtiene el valor de la propiedad especificada en el objeto de destino.
Espacio de nombres: System.Data.Services
Ensamblado: Microsoft.Data.Services (en Microsoft.Data.Services.dll)
Sintaxis
'Declaración
Function GetValue ( _
targetResource As Object, _
propertyName As String _
) As Object
'Uso
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
Parámetros
- targetResource
Tipo: System.Object
Un objeto opaco que representa un recurso.
- propertyName
Tipo: System.String
El nombre de la propiedad cuyo valor se necesita recuperar.
Valor devuelto
Tipo: System.Object
Valor del objeto.
Comentarios
Se llama a este método para propiedades escalares o propiedades complejas. Para una propiedad escalar, el objeto devuelto debería ser el valor real.