FontWeight.IFormattable.ToString(String, IFormatProvider) Metodo
Definizione
Per una descrizione di questo membro, vedere ToString(String, IFormatProvider).For a description of this member, see ToString(String, IFormatProvider).
virtual System::String ^ System.IFormattable.ToString(System::String ^ format, IFormatProvider ^ provider) = IFormattable::ToString;
string IFormattable.ToString (string format, IFormatProvider provider);
abstract member System.IFormattable.ToString : string * IFormatProvider -> string
override this.System.IFormattable.ToString : string * IFormatProvider -> string
Function ToString (format As String, provider As IFormatProvider) As String Implements IFormattable.ToString
Parametri
- format
- String
Oggetto String che specifica il formato da utilizzare.The String specifying the format to use.
-oppure--or-
null
per utilizzare il formato predefinito per il tipo di implementazione dell'interfaccia IFormattable.null
to use the default format defined for the type of the IFormattable implementation.
- provider
- IFormatProvider
Interfaccia IFormatProvider da utilizzare per formattare il valore.The IFormatProvider to use to format the value.
-oppure--or-
null
per ottenere le informazioni sul formato numerico dalle impostazioni locali correnti del sistema operativo.null
to obtain the numeric format information from the current locale setting of the operating system.
Restituisce
Oggetto String contenente il valore dell'istanza corrente nel formato specificato.A String containing the value of the current instance in the specified format.