Click or drag to resize
SerializationReader.ReadOptimizedObjectArray Method (Type)
Returns an object[] from the stream that was stored optimized. The returned array will be typed according to the specified element type and the resulting array can be cast to the expected type. e.g. string[] myStrings = (string[]) reader.ReadOptimizedObjectArray(typeof(string)); An exception will be thrown if any of the deserialized values cannot be cast to the specified elementType.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public Object[] ReadOptimizedObjectArray(
	Type elementType
)

Parameters

elementType
Type: System.Type
The Type of the expected array elements. null will return a plain object[].

Return Value

Type:Object[]
An object[] instance.
See Also