Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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
Show:
© 2015 Microsoft