IFormatterConverter.Convert Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Convierte un valor en un tipo dado.
Sobrecargas
Convert(Object, Type) |
Convierte un valor en el Type dado. |
Convert(Object, TypeCode) |
Convierte un valor en el TypeCode dado. |
Convert(Object, Type)
Convierte un valor en el Type dado.
public:
System::Object ^ Convert(System::Object ^ value, Type ^ type);
public object Convert (object value, Type type);
abstract member Convert : obj * Type -> obj
Public Function Convert (value As Object, type As Type) As Object
Parámetros
- value
- Object
Objeto que se va a convertir.
Devoluciones
value
convertido.
Se aplica a
Convert(Object, TypeCode)
Convierte un valor en el TypeCode dado.
public:
System::Object ^ Convert(System::Object ^ value, TypeCode typeCode);
public object Convert (object value, TypeCode typeCode);
abstract member Convert : obj * TypeCode -> obj
Public Function Convert (value As Object, typeCode As TypeCode) As Object
Parámetros
- value
- Object
Objeto que se va a convertir.
Devoluciones
value
convertido.
Se aplica a
Comentaris
https://aka.ms/ContentUserFeedback.
Properament: al llarg del 2024 eliminarem gradualment GitHub Issues com a mecanisme de retroalimentació del contingut i el substituirem per un nou sistema de retroalimentació. Per obtenir més informació, consulteu:Envieu i consulteu els comentaris de