VPFileIO WriteToStream T  Method Virtual Photonics - VTS Library
Virtual Photonics
Static method to write an object to a stream

Namespace: Vts.IO
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static void WriteToStream<T>(
	this T myObject,
	Stream stream
)

Parameters

myObject
Type: T
Object to be written
stream
Type: OnlineSystem.IO Stream
Stream to which to write the object
Type Parameters

T
Type of the object to be written

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also