Condividi tramite


Metodo OpenTypeMethods.Convert

Converte un valore nel tipo specificato.

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

Sintassi

'Dichiarazione
Public Shared Function Convert ( _
    value As Object, _
    type As ResourceType _
) As Object
'Utilizzo
Dim value As Object
Dim type As ResourceType
Dim returnValue As Object

returnValue = OpenTypeMethods.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

Parametri

Valore restituito

Tipo: System.Object
Valore convertito.

Osservazioni

Il metodo Convert è utilizzato per eseguire un cast di tipo sul value specificato.

Vedere anche

Riferimento

OpenTypeMethods Classe

Spazio dei nomi System.Data.Services.Providers