ArcGIS API for Silverlight - Library Reference
ToJson Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.WebMap Namespace > WebMap Class : ToJson Method

pretty
if set to true, returns pretty JSON.
Serializes the WebMap to JSON

Syntax

Visual Basic (Declaration) 
Public Function ToJson( _
   Optional ByVal pretty As Boolean _
) As String
C# 
public string ToJson( 
   bool pretty
)

Parameters

pretty
if set to true, returns pretty JSON.

Return Value

The json string.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7

See Also

© ESRI, Inc. All Rights Reserved.