ESRI.ArcGIS.ADF.Local
PersistenceHelper Class
Members  See Also  Send Feedback
ESRI.ArcGIS.ADF.Serialization Namespace : PersistenceHelper Class




Helper class to serialize managed types and persistable ArcObject components to a managed stream object, which is the parameter supplied in add-in extension persistence methods.

Object Model

PersistenceHelper Class

Syntax

Visual Basic (Declaration) 
Public MustInherit NotInheritable Class PersistenceHelper 
Visual Basic (Usage)Copy Code
Dim instance As PersistenceHelper
C# 
public static class PersistenceHelper 

Remarks

BinaryFormatter is used for the serialization/deserialization. Persistable ArcObjects are serialized via XMLSerializerClass or XMLPersistedObjectClass in ESRI.ArcGIS.esriSystem namespace. It also handles advanced custom binding for type lookup when object is deserialized.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.