![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
Remove(Control,String) Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > CallbackResultCollection Class > Remove Method : Remove(Control,String) Method |
- control
- Control to search for in the CallbackResult collection.
- eventArg
- EventArg values to search for in the CallbackResult collection: one of "content", "innercontent", "javasript" and "image".
Visual Basic (Declaration) | |
---|---|
Public Overloads Sub Remove( _ ByVal control As Control, _ ByVal eventArg As String _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As CallbackResultCollection Dim control As Control Dim eventArg As String instance.Remove(control, eventArg) |
Parameters
- control
- Control to search for in the CallbackResult collection.
- eventArg
- EventArg values to search for in the CallbackResult collection: one of "content", "innercontent", "javasript" and "image".
This method removes all CallbackResult objects in the collection with the control reference and EventArg values passed in. If multiple CallbackResults objects have the matching reference to the control (in the Control property) and EventArg, they will all be removed. This method will not remove a CallbackResult object unless it has a reference to the control. If the CallbackResult was constructed with the control ID and type rather than control reference, it will not be found and hence will not be removed.
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