共用方式為


LocalizableString.GetText(IFormatProvider) Method

Definition

Formats the value of the current instance using the optionally specified format. Provides the implementation of ToString. ToString will provide a default value if this method throws an exception.

protected:
 abstract System::String ^ GetText(IFormatProvider ^ formatProvider);
protected abstract string GetText (IFormatProvider formatProvider);
protected abstract string GetText (IFormatProvider? formatProvider);
abstract member GetText : IFormatProvider -> string
Protected MustOverride Function GetText (formatProvider As IFormatProvider) As String

Parameters

formatProvider
IFormatProvider

Returns

Applies to