Spread Windows Forms 9.0 Product Documentation
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.
Requirements

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

See Also

Reference

Serializer Class
Serializer Members

 

 


Copyright © GrapeCity, inc. All rights reserved.