NET Caching Library Help
Serialize<T> Method




KellermanSoftware.NetCachingLibrary.CacheProviders Namespace > BaseCacheProvider Class : Serialize<T> Method
Serialize an object. Also compress and encrypt if it is turned on
Syntax
'Declaration
 
Protected Function Serialize(Of T)( _
   ByVal value As T _
) As System.Byte()
'Usage
 
Dim instance As BaseCacheProvider
Dim value As T
Dim value() As System.Byte
 
value = instance.Serialize(Of T)(value)
protected System.byte[] Serialize<T>( 
   T value
)
protected: System.byte[]* Serialize<T>( 
   T* value
) 
protected:
System.array<byte>^ Serializegeneric<typename T>
( 
   T^ value
) 

Parameters

value

Type Parameters

T
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

BaseCacheProvider Class
BaseCacheProvider Members