[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Writes a primitive value type into the stream. Don't use this for string.

Namespace:  Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

                 
  C#     Visual Basic     Visual C++  
protected 
static 
void 
WriteValue<T>(
	
Stream 
stream,
		T 
value
)
Protected 
Shared 
Sub 
WriteValue(
Of T) ( _
	
stream 
As 
Stream, _
	
value 
As T _
)
protected:
generic<
typename T>
static 
void 
WriteValue(
	
Stream^ 
stream, 
		T 
value
)

Parameters

stream
Stream
value
T

Type Parameters

T
value type

See Also