FormattableString.ToString Metodo
Definizione
Restituisce la stringa risultante dalla formattazione della stringa formato composita con i relativi argomenti.Returns the string that results from formatting the composite format string along with its arguments.
Overload
ToString() |
Restituisce la stringa risultante dalla formattazione della stringa formato composita con i relativi argomenti usando le convenzioni di formattazione delle impostazioni cultura correnti.Returns the string that results from formatting the composite format string along with its arguments by using the formatting conventions of the current culture. |
ToString(IFormatProvider) |
Restituisce la stringa risultante dalla formattazione della stringa formato composita con i relativi argomenti usando le convenzioni di formattazione delle impostazioni cultura specificate.Returns the string that results from formatting the composite format string along with its arguments by using the formatting conventions of a specified culture. |
ToString()
Restituisce la stringa risultante dalla formattazione della stringa formato composita con i relativi argomenti usando le convenzioni di formattazione delle impostazioni cultura correnti.Returns the string that results from formatting the composite format string along with its arguments by using the formatting conventions of the current culture.
public:
override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String
Restituisce
Stringa risultato formattata usando le convenzioni delle impostazioni cultura correnti.A result string formatted by using the conventions of the current culture.
ToString(IFormatProvider)
Restituisce la stringa risultante dalla formattazione della stringa formato composita con i relativi argomenti usando le convenzioni di formattazione delle impostazioni cultura specificate.Returns the string that results from formatting the composite format string along with its arguments by using the formatting conventions of a specified culture.
public:
abstract System::String ^ ToString(IFormatProvider ^ formatProvider);
public abstract string ToString (IFormatProvider formatProvider);
override this.ToString : IFormatProvider -> string
Public MustOverride Function ToString (formatProvider As IFormatProvider) As String
Parametri
- formatProvider
- IFormatProvider
Oggetto che fornisce informazioni di formattazione specifiche delle impostazioni cultura.An object that provides culture-specific formatting information.
Restituisce
Stringa risultato formattata usando le convenzioni di formatProvider
.A result string formatted by using the conventions of formatProvider
.