T
Serializable managed type and/or persistable ArcObjects components
ESRI.ArcGIS.ADF.Local
Generic Save Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Serialization Namespace > PersistenceHelper Class : Generic Save Method




str
cacheMe
Save an object instance to a stream.

Syntax

Visual Basic (Declaration) 
Public Shared Sub Save(Of T)( _
   ByVal str As Stream, _
   ByVal cacheMe As T _
) 
Visual Basic (Usage)Copy Code
Dim str As Stream
Dim cacheMe As T
 
PersistenceHelper.Save(Of T)(str, cacheMe)
C# 
public static void Save<T>( 
   Stream str,
   T cacheMe
)

Parameters

str
cacheMe

Type Parameters

T
Serializable managed type and/or persistable ArcObjects components

See Also

© 2010 All Rights Reserved.