Spread Windows Forms 12.0 Product Documentation
EncodeObject Method


FarPoint.Win Assembly > FarPoint.Win Namespace > Serializer Class : EncodeObject Method
Object to encode
Encodes an object to a base64 string, if it is serializable.
Syntax
'Declaration
 
Public Shared Function EncodeObject( _
   ByVal o As Object _
) As String
'Usage
 
Dim o As Object
Dim value As String
 
value = Serializer.EncodeObject(o)
public static string EncodeObject( 
   object o
)

Parameters

o
Object to encode

Return Value

String containing the base64-encoded string
Remarks
This method is the inverse of DecodeObject.
See Also

Reference

Serializer Class
Serializer Members