Formatter.WriteInt32(Int32, String) Method (System.Runtime.Serialization) (original) (raw)

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.

When overridden in a derived class, writes a 32-bit signed integer to the stream.

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)

Parameters

val

Int32

The value to write.

name

String

The name of the member.

Notes to Implementers

You must implement this method in a derived class.

Applies to