Formatter.WriteDouble(Double, String) 方法

定義

當覆寫於衍生類別時,將雙精度浮點數寫入至已附加於格式子的資料流。When overridden in a derived class, writes a double-precision floating-point number to the stream already attached to the formatter.

protected:
 abstract void WriteDouble(double val, System::String ^ name);
protected abstract void WriteDouble (double val, string name);
abstract member WriteDouble : double * string -> unit
Protected MustOverride Sub WriteDouble (val As Double, name As String)

參數

val
Double

要寫入的值。The value to write.

name
String

成員的名稱。The name of the member.

給繼承者的注意事項

您必須在衍生類別中執行此方法。You must implement this method in a derived class.

適用於