This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Converts an object into an array of bytes. Object must be serializable.
Namespace: Smartsite.Tools.Caching
Assembly: Smartsite.Tools (in Smartsite.Tools.dll)
Syntax
C# | Copy Code |
---|---|
public static byte[] ToBytes( value ) |
Visual Basic (Declaration) | Copy Code |
---|---|
Public Shared Function ToBytes ( _ value As _ ) As () |
Parameters
- value
- Object
Object to serialize. May be null.
Return Value
Serialized object, or null if input was null.See Also
SerializationUtility Class
Smartsite.Tools.Caching Namespace