KeySpline.IFormattable.ToString(String, IFormatProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Formats the value of the current instance using the specified format.
virtual System::String ^ System.IFormattable.ToString(System::String ^ format, IFormatProvider ^ formatProvider) = IFormattable::ToString;
string IFormattable.ToString (string format, IFormatProvider formatProvider);
abstract member System.IFormattable.ToString : string * IFormatProvider -> string
override this.System.IFormattable.ToString : string * IFormatProvider -> string
Function ToString (format As String, formatProvider As IFormatProvider) As String Implements IFormattable.ToString
Parameters
- format
- String
The format to use.
-or-
A null reference (Nothing
in Visual Basic) to use the default format defined for the type of the IFormattable implementation.
- formatProvider
- IFormatProvider
The provider to use to format the value.
-or-
A null reference (Nothing
in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.
Returns
The value of the current instance in the specified format.
Implements
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈