Compartir a través de


DataServiceProviderMethods.Convert Método

Convierte un valor a un tipo especificado.

Espacio de nombres:  System.Data.Services.Providers
Ensamblado:  Microsoft.Data.Services (en Microsoft.Data.Services.dll)

Sintaxis

'Declaración
Public Shared Function Convert ( _
    value As Object, _
    type As ResourceType _
) As Object
'Uso
Dim value As Object
Dim type As ResourceType
Dim returnValue As Object

returnValue = DataServiceProviderMethods.Convert(value, _
    type)
public static Object Convert(
    Object value,
    ResourceType type
)
public:
static Object^ Convert(
    Object^ value, 
    ResourceType^ type
)
static member Convert : 
        value:Object * 
        type:ResourceType -> Object 
public static function Convert(
    value : Object, 
    type : ResourceType
) : Object

Parámetros

  • value
    Tipo: System.Object
    Valor que se va a convertir al type solicitado.

Valor devuelto

Tipo: System.Object
Conversión de value al type solicitado.

Vea también

Referencia

DataServiceProviderMethods Clase

Espacio de nombres System.Data.Services.Providers