ESRI.ArcGIS.ADF.Web.UI.WebControls
Add(Control,String,Object[]) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > CallbackResultCollection Class > Add Method : Add(Control,String,Object[]) Method




control
Control that will be the target of the HTML content or image source. Can be null (Nothing) if eventArg is javascript.
eventArg
Type of CallbackResult to create: content, innercontent, javascript or image.
parameters
Message for the callback: HTML content, javascript command, or image src.
Adds a CallbackResult to the collection.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Add( _
   ByVal control As Control, _
   ByVal eventArg As String, _
   ByVal ParamArray parameters() As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As CallbackResultCollection
Dim control As Control
Dim eventArg As String
Dim parameters() As Object
 
instance.Add(control, eventArg, parameters)
C# 
public void Add( 
   Control control,
   string eventArg,
   params object[] parameters
)

Parameters

control
Control that will be the target of the HTML content or image source. Can be null (Nothing) if eventArg is javascript.
eventArg
Type of CallbackResult to create: content, innercontent, javascript or image.
parameters
Message for the callback: HTML content, javascript command, or image src.

Remarks

This method enables adding a new CallbackResult to the callback results collection by passing in the information required to create the CallbackResult. See the CallbackResult class for more discussion on using callback results

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.