Matrix.IFormattable.ToString(String, IFormatProvider) 方法

定义

有关此成员的说明,请参见 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

参数

format
String

指定要使用格式的字符串,若为 null 则表示使用为 IFormattable 实现的类型定义的默认格式。

provider
IFormatProvider

一个提供格式设置信息的对象;若为 null,则表示要获取当前区域性中的数字格式信息。

返回

String

一个字符串,包含采用指定格式的当前实例的值。

实现

注解

此结构表示 Windows 运行时 (WinRT) 结构的 .net 投影 Matrix 。 有关详细信息,请参阅 UWP API 参考中的 Matrix

适用于