Formatter.WriteInt32(Int32, String) 方法

定義

當在派生類別中覆寫時,會寫入一個 32 位元的有符號整數到串流中。

protected:
 abstract void WriteInt32(int val, System::String ^ name);
protected abstract void WriteInt32(int val, string name);
abstract member WriteInt32 : int * string -> unit
Protected MustOverride Sub WriteInt32 (val As Integer, name As String)

參數

val
Int32

要寫入的值。

name
String

成員的名稱。

給實施者的注意事項

你必須在導出類別中實作此方法。

適用於