Spread Windows Forms 7.0 Product Documentation
EncodeObject Method
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > Serializer Class : EncodeObject Method


o
Object to encode

Glossary Item Box

Encodes an object to a base64 string, if it is serializable.

Syntax

Visual Basic (Declaration) 
Public Shared Function EncodeObject( _
   ByVal o As Object _
) As String
Visual Basic (Usage)Copy Code
Dim o As Object
Dim value As String
 
value = Serializer.EncodeObject(o)
C# 
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.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.