Metodo DataServiceProviderMethods.Convert
Esegue il cast di un valore in un 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 = 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
Parametri
- value
Tipo: System.Object
Valore di cui è stato eseguito il cast nell'oggetto type richiesto.
- type
Tipo: System.Data.Services.Providers.ResourceType
Tipo di risorsa da controllare.
Valore restituito
Tipo: System.Object
Oggetto value di cui è stato eseguito il cast nell'oggetto type richiesto.