Formatter.WriteInt16(Int16, String) Formatter.WriteInt16(Int16, String) Formatter.WriteInt16(Int16, String) Formatter.WriteInt16(Int16, String) Method

定義

當覆寫於衍生類別時,將 16 位元的帶正負號整數 (Signed Integer) 寫入至已附加於格式子的資料流。When overridden in a derived class, writes a 16-bit signed integer to the stream already attached to the formatter.

protected:
 abstract void WriteInt16(short val, System::String ^ name);
protected abstract void WriteInt16 (short val, string name);
abstract member WriteInt16 : int16 * string -> unit
Protected MustOverride Sub WriteInt16 (val As Short, name As String)

參數

val
Int16 Int16 Int16 Int16

要寫入的值。The value to write.

name
String String String String

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

給繼承者的注意事項

您必須在衍生類別中實作這個方法。You must implement this method in a derived class.

適用於