ESRI.ArcGIS.ADF.Web
ToJson Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.Display.Symbol Namespace > IClientSymbol Interface : ToJson Method




serverSideSerialization
When serializing for server-side use (e.g. on aspx pages), marker symbols will be saved as their original types, where supported. When serialized for client-side use, all marker symbols will be saved as types supported on the client, e.g. simple marker symbols will be saved as raster marker symbols.
Creates a JSON string representing the symbol.

Syntax

Visual Basic (Declaration) 
Function ToJson( _
   ByVal serverSideSerialization As Boolean _
) As String
Visual Basic (Usage)Copy Code
Dim instance As IClientSymbol
Dim serverSideSerialization As Boolean
Dim value As String
 
value = instance.ToJson(serverSideSerialization)
C# 
string ToJson( 
   bool serverSideSerialization
)

Parameters

serverSideSerialization
When serializing for server-side use (e.g. on aspx pages), marker symbols will be saved as their original types, where supported. When serialized for client-side use, all marker symbols will be saved as types supported on the client, e.g. simple marker symbols will be saved as raster marker symbols.

Return Value

JSON string with symbol properties

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.