This documentation is archived and is not being maintained.

Formatter.WriteValueType Method

When overridden in a derived class, writes a value of the given type to the stream already attached to the formatter.

This method is not CLS-compliant.  

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

protected abstract void WriteValueType (
	Object obj,
	string name,
	Type memberType
protected abstract void WriteValueType (
	Object obj, 
	String name, 
	Type memberType
protected abstract function WriteValueType (
	obj : Object, 
	name : String, 
	memberType : Type
Not applicable.



The object representing the value type.


The name of the member.


The Type of the value type.

Notes to Inheritors: You must implement this method in a derived class.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0