Dundas.SharePoint.Charting.WebParts Send comments on this topic.
Execute(Object) Method
See Also 
Dundas.Charting.WebControl Namespace > Command Class > Execute Method : Execute(Object) Method


selectedObject
The object context over which command to be executed
Executes the command with defined context.

Syntax

Visual Basic (Declaration)  
Public Overloads Overridable Function Execute( _
   ByVal selectedObject As Object _
) As Boolean
Visual Basic (Usage) Copy Code
Dim instance As Command
Dim selectedObject As Object
Dim value As Boolean
 
value = instance.Execute(selectedObject)
C#  
public virtual bool Execute( 
   object selectedObject
)

Parameters

selectedObject
The object context over which command to be executed

Return Value

True if the command is executed succesfuly, otherwize - false

Remarks

The selectedObject can be null, a chart element or IEnumerable object of chart elements. The possible supported chart elements are: ChartArea, Series, Axis, Annotation, Legend, LegendItem, Title or DataPoint. Each Command can handle with limited set of object types determined by Command.SupportedElements property.

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