mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='http://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='http://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='http://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='http://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='http://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
Expand <a href='http://sobekrepository.org/codehelp/engineagnosticlayerdbaccess' title='EngineAgnosticLayerDbAccess'>EngineAgnosticLayerDbAccess Namespace</a>EngineAgnosticLayerDbAccess Namespace
Expand <a href='http://sobekrepository.org/codehelp/builder_library' title='SobekCM.Builder_Library'>Builder_Library Namespace</a>Builder_Library Namespace
Collapse <a href='http://sobekrepository.org/codehelp/core' title='SobekCM.Core'>Core Namespace</a>Core Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/aggregations' title='SobekCM.Core.Aggregations'>Aggregations Sub-Namespace</a>Aggregations Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/applicationstate' title='SobekCM.Core.ApplicationState'>ApplicationState Sub-Namespace</a>ApplicationState Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/briefitem' title='SobekCM.Core.BriefItem'>BriefItem Sub-Namespace</a>BriefItem Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/builder' title='SobekCM.Core.Builder'>Builder Sub-Namespace</a>Builder Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/client' title='SobekCM.Core.Client'>Client Sub-Namespace</a>Client Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/configuration' title='SobekCM.Core.Configuration'>Configuration Sub-Namespace</a>Configuration Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/ead' title='SobekCM.Core.EAD'>EAD Sub-Namespace</a>EAD Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/filesystems' title='SobekCM.Core.FileSystems'>FileSystems Sub-Namespace</a>FileSystems Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/items' title='SobekCM.Core.Items'>Items Sub-Namespace</a>Items Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/marc' title='SobekCM.Core.MARC'>MARC Sub-Namespace</a>MARC Sub-Namespace
Collapse <a href='http://sobekrepository.org/codehelp/core/memorymgmt' title='SobekCM.Core.MemoryMgmt'>MemoryMgmt Sub-Namespace</a>MemoryMgmt Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/memorymgmt/adonetfastserializersurrogate' title='AdoNetFastSerializerSurrogate Class'>AdoNetFastSerializerSurrogate</a>AdoNetFastSerializerSurrogate
Expand <a href='http://sobekrepository.org/codehelp/core/memorymgmt/adonethelper' title='AdoNetHelper Class'>AdoNetHelper</a>AdoNetHelper
Expand <a href='http://sobekrepository.org/codehelp/core/memorymgmt/cached_object_info' title='Cached_Object_Info Structure'>Cached_Object_Info Structure</a>Cached_Object_Info Structure
Expand <a href='http://sobekrepository.org/codehelp/core/memorymgmt/cacheddatamanager' title='CachedDataManager Class'>CachedDataManager</a>CachedDataManager
Expand <a href='http://sobekrepository.org/codehelp/core/memorymgmt/cacheddatamanager_aggregationservices' title='CachedDataManager_AggregationServices Class'>CachedDataManager_AggregationServices</a>CachedDataManager_AggregationServices
Expand <a href='http://sobekrepository.org/codehelp/core/memorymgmt/cacheddatamanager_builderservices' title='CachedDataManager_BuilderServices Class'>CachedDataManager_BuilderServices</a>CachedDataManager_BuilderServices
Expand <a href='http://sobekrepository.org/codehelp/core/memorymgmt/cacheddatamanager_itemservices' title='CachedDataManager_ItemServices Class'>CachedDataManager_ItemServices</a>CachedDataManager_ItemServices
Expand <a href='http://sobekrepository.org/codehelp/core/memorymgmt/cacheddatamanager_settings' title='CachedDataManager_Settings Class'>CachedDataManager_Settings</a>CachedDataManager_Settings
Expand <a href='http://sobekrepository.org/codehelp/core/memorymgmt/cacheddatamanager_webcontentservices' title='CachedDataManager_WebContentServices Class'>CachedDataManager_WebContentServices</a>CachedDataManager_WebContentServices
Expand <a href='http://sobekrepository.org/codehelp/core/memorymgmt/cacheddatamanager_webskinservices' title='CachedDataManager_WebSkinServices Class'>CachedDataManager_WebSkinServices</a>CachedDataManager_WebSkinServices
IModifiedTypedDataSet Interface
Expand <a href='http://sobekrepository.org/codehelp/core/memorymgmt/iowneddataserializable' title='IOwnedDataSerializable Interface'>IOwnedDataSerializable Interface</a>IOwnedDataSerializable Interface
IOwnedDataSerializableAndRecreatable Interface
Expand <a href='http://sobekrepository.org/codehelp/core/memorymgmt/optimizationexception' title='OptimizationException Class'>OptimizationException</a>OptimizationException
Collapse <a href='http://sobekrepository.org/codehelp/core/memorymgmt/serializationreader' title='SerializationReader Class'>SerializationReader</a>SerializationReader
Expand <a href='http://sobekrepository.org/codehelp/core/memorymgmt/serializationwriter' title='SerializationWriter Class'>SerializationWriter</a>SerializationWriter
SerializedType
Expand <a href='http://sobekrepository.org/codehelp/core/message' title='SobekCM.Core.Message'>Message Sub-Namespace</a>Message Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/microservicesclient' title='SobekCM.Core.MicroservicesClient'>MicroservicesClient Sub-Namespace</a>MicroservicesClient Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/navigation' title='SobekCM.Core.Navigation'>Navigation Sub-Namespace</a>Navigation Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/oai' title='SobekCM.Core.OAI'>OAI Sub-Namespace</a>OAI Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/resulttitle' title='SobekCM.Core.ResultTitle'>ResultTitle Sub-Namespace</a>ResultTitle Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/results' title='SobekCM.Core.Results'>Results Sub-Namespace</a>Results Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/search' title='SobekCM.Core.Search'>Search Sub-Namespace</a>Search Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/serialization' title='SobekCM.Core.Serialization'>Serialization Sub-Namespace</a>Serialization Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/settings' title='SobekCM.Core.Settings'>Settings Sub-Namespace</a>Settings Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/sitemap' title='SobekCM.Core.SiteMap'>SiteMap Sub-Namespace</a>SiteMap Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/skins' title='SobekCM.Core.Skins'>Skins Sub-Namespace</a>Skins Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/ui_configuration' title='SobekCM.Core.UI_Configuration'>UI_Configuration Sub-Namespace</a>UI_Configuration Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/users' title='SobekCM.Core.Users'>Users Sub-Namespace</a>Users Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/webcontent' title='SobekCM.Core.WebContent'>WebContent Sub-Namespace</a>WebContent Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/core/emailinfo' title='EmailInfo Class'>EmailInfo</a>EmailInfo
Expand <a href='http://sobekrepository.org/codehelp/core/iserializationevents' title='iSerializationEvents Interface'>iSerializationEvents Interface</a>iSerializationEvents Interface
Expand <a href='http://sobekrepository.org/codehelp/core/milestone_entry' title='Milestone_Entry Class'>Milestone_Entry</a>Milestone_Entry
Expand <a href='http://sobekrepository.org/codehelp/engine_library' title='SobekCM.Engine_Library'>Engine_Library Namespace</a>Engine_Library Namespace
Expand <a href='http://sobekrepository.org/codehelp/library' title='SobekCM.Library'>Library Namespace</a>Library Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object' title='SobekCM.Resource_Object'>Resource_Object Namespace</a>Resource_Object Namespace
Expand <a href='http://sobekrepository.org/codehelp/tools' title='SobekCM.Tools'>Tools Namespace</a>Tools Namespace
MISSING BANNER

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: SobekCM.Core.MemoryMgmt
Assembly: SobekCM_Core (in SobekCM_Core.dll) Version: 4.10.0.0 (4.10.0.0)

Syntax

C#
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: array<Object>[]()[][]
An object[] instance.

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )