Spread Windows Forms 6.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 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

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