Formatter.WriteUInt16 Method

When overridden in a derived class, writes a 16-bit unsigned integer to the stream already attached to the formatter.

This API is not CLS-compliant. 

Namespace:  System.Runtime.Serialization
Assembly:  mscorlib (in mscorlib.dll)

[CLSCompliantAttribute(false)]
protected abstract void WriteUInt16(
	ushort val,
	string name
)

Parameters

val
Type: System.UInt16

The value to write.

name
Type: System.String

The name of the member.

Notes to Inheritors

You must implement this method in a derived class.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft