Point.IFormattable.ToString(String, IFormatProvider) Metodo

Definizione

Questo membro supporta l'infrastruttura Windows Presentation Foundation (WPF) e non deve essere usato direttamente dal codice. Per una descrizione di questo membro, vedere 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

Stringa che specifica il formato da utilizzare.

-oppure- null per utilizzare il formato predefinito per il tipo di implementazione dell'interfaccia IFormattable.

provider
IFormatProvider

Interfaccia IFormatProvider da utilizzare per formattare il valore.

-oppure- null per ottenere le informazioni sul formato numerico dalle impostazioni locali correnti del sistema operativo.

Restituisce

String

Stringa contenente il valore dell'istanza corrente nel formato specificato.

Implementazioni

Si applica a