Click or drag to resize

SerializationReaderReadOptimizedObjectArray Method

Overload List
  NameDescription
Public methodReadOptimizedObjectArray
Returns an object[] from the stream that was stored optimized.
Public methodReadOptimizedObjectArray(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.
Top
See Also