openPDC Historian Help
Serialize<(Of <(T>)>) Method (serializedOutput, serializableObject, serializationFormat)
NamespacesTVA.Historian.ServicesSerializationSerialize<(Of <(T>)>)(Stream%, T, SerializationFormat)

[This is preliminary documentation and is subject to change.]

Serializes an Object.
Declaration Syntax
C#Visual BasicVisual C++
public static void Serialize<T>(
	ref Stream serializedOutput,
	T serializableObject,
	SerializationFormat serializationFormat
)
Public Shared Sub Serialize(Of T) ( _
	ByRef serializedOutput As Stream, _
	serializableObject As T, _
	serializationFormat As SerializationFormat _
)
public:
generic<typename T>
static void Serialize(
	Stream^% serializedOutput, 
	T serializableObject, 
	SerializationFormat serializationFormat
)
Generic Template Parameters
T
Type of the serializableObject.
Parameters
serializedOutput ( Stream %)
Stream where the serializableObject is to be serialized.
serializableObject (T)
Object to be serialized.
serializationFormat (SerializationFormat)
SerializationFormat in which the serializableObject is to be serialized.
Exceptions
ExceptionCondition
ArgumentNullException serializedOutput or serializableObject is null.
NotSupportedExceptionSpecified serializationFormat is not supported.

Assembly: TVA.Historian (Module: TVA.Historian) Version: 1.0.0.0