ESRI.ArcGIS.ADF.Web.UI.WebControls
ToString Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > CallbackResultCollection Class : ToString Method




Converts the collection to a string.

Syntax

Visual Basic (Declaration) 
Public Overrides Function ToString() As String
Visual Basic (Usage)Copy Code
Dim instance As CallbackResultCollection
Dim value As String
 
value = instance.ToString()
C# 
public override string ToString()

Return Value

String value with concatentated string versions of each CallbackResult in the collection.

Remarks

This method uses the System.Web.Script.Serialization.JavaScriptSerializer to serialized all CallbackResults in the collection to a string.

This method may be used to modify the callback result collection before manually passing it back to the browser (e.g. custom data items or a callback string). Note, the callback result collection is designed to be processed by a Web ADF JavaScript processCallbackResult function on the client.

See Also

© 2010 All Rights Reserved.