Conversions Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Fornisce metodi che eseguono varie conversioni di tipi.
public ref class Conversions sealed
public sealed class Conversions
type Conversions = class
Public NotInheritable Class Conversions
- Ereditarietà
-
Conversions
Metodi
| Nome | Descrizione |
|---|---|
| ChangeType(Object, Type) |
Converte un oggetto nel tipo specificato. |
| Equals(Object) |
Determina se l'oggetto specificato è uguale all'oggetto corrente. (Ereditato da Object) |
| FallbackUserDefinedConversion(Object, Type) |
Obsoleti.
Converte un oggetto nel tipo specificato. |
| FromCharAndCount(Char, Int32) |
Converte un Char valore in una stringa, dato un conteggio di byte. |
| FromCharArray(Char[]) |
Converte una Char matrice in una stringa. |
| FromCharArraySubset(Char[], Int32, Int32) |
Converte un subset di una Char matrice in una stringa. |
| GetHashCode() |
Funge da funzione hash predefinita. (Ereditato da Object) |
| GetType() |
Ottiene il Type dell'istanza corrente. (Ereditato da Object) |
| MemberwiseClone() |
Crea una copia superficiale del Objectcorrente. (Ereditato da Object) |
| ToBoolean(Object) |
Converte un oggetto in un Boolean valore. |
| ToBoolean(String) |
Converte una stringa in un Boolean valore. |
| ToByte(Object) |
Converte un oggetto in un Byte valore. |
| ToByte(String) |
Converte una stringa in un Byte valore. |
| ToChar(Object) |
Converte un oggetto in un Char valore. |
| ToChar(String) |
Converte una stringa in un Char valore. |
| ToCharArrayRankOne(Object) |
Converte un oggetto in una matrice unidimensionale Char . |
| ToCharArrayRankOne(String) |
Converte una stringa in una matrice unidimensionale Char . |
| ToDate(Object) |
Converte un oggetto in un DateTime valore. |
| ToDate(String) |
Converte una stringa in un DateTime valore. |
| ToDecimal(Boolean) | |
| ToDecimal(Object) |
Converte un oggetto in un Decimal valore. |
| ToDecimal(String) |
Converte una stringa in un Decimal valore. |
| ToDouble(Object) |
Converte un oggetto in un Double valore. |
| ToDouble(String) |
Converte una stringa in un Double valore. |
| ToGenericParameter<T>(Object) |
Converte un oggetto in un tipo |
| ToInteger(Object) |
Converte un oggetto in un valore intero. |
| ToInteger(String) |
Converte una stringa in un valore intero. |
| ToLong(Object) |
Converte un oggetto in un |
| ToLong(String) |
Converte una stringa in un |
| ToSByte(Object) |
Converte un oggetto in un SByte valore. |
| ToSByte(String) |
Converte una stringa in un SByte valore. |
| ToShort(Object) |
Converte un oggetto in un |
| ToShort(String) |
Converte una stringa in un |
| ToSingle(Object) |
Converte un oggetto in un Single valore. |
| ToSingle(String) | |
| ToString() |
Restituisce una stringa che rappresenta l'oggetto corrente. (Ereditato da Object) |
| ToString(Boolean) | |
| ToString(Byte) | |
| ToString(Char) | |
| ToString(DateTime) | |
| ToString(Decimal, NumberFormatInfo) |
Converte un Decimal valore in un String valore utilizzando il formato numerico specificato. |
| ToString(Decimal) | |
| ToString(Double, NumberFormatInfo) |
Converte un Double valore in un String valore utilizzando il formato numerico specificato. |
| ToString(Double) | |
| ToString(Int16) |
Converte un |
| ToString(Int32) |
Converte un valore intero in un String valore . |
| ToString(Int64) |
Converte un |
| ToString(Object) |
Converte un oggetto in un String valore. |
| ToString(Single, NumberFormatInfo) |
Converte un Single valore in un String valore utilizzando il formato numerico specificato. |
| ToString(Single) |
Converte un Single valore (un numero a virgola mobile a precisione singola) in un String valore. |
| ToString(UInt32) |
Converte un |
| ToString(UInt64) |
Converte un |
| ToUInteger(Object) |
Converte un oggetto in un |
| ToUInteger(String) |
Converte una stringa in un |
| ToULong(Object) |
Converte un oggetto in un |
| ToULong(String) |
Converte una stringa in un |
| ToUShort(Object) |
Converte un oggetto in un |
| ToUShort(String) |
Converte una stringa in un |