Gets a particular chart from the collection.

GetItem()

public DataVisualization.ChartFrame GetItem();
Public Function GetItem() As DataVisualization.ChartFrame

GetItem(Int)

public DataVisualization.ChartFrame GetItem(int id);
Public Function GetItem(ByVal id As Integer) As DataVisualization.ChartFrame

GetItem(String)

public DataVisualization.ChartFrame GetItem(string name);
Public Function GetItem(ByVal name As String) As DataVisualization.ChartFrame

Parameters

Parameter Description
id Specifies the chart's identifier. The method returns null if a chart with the specified identifier does not exist.
name Specifies the chart's name. The method returns null if a chart with the specified name does not exist.

Return Value

The return value is null, if a chart with the specified parameters could not be found. Otherwise, it is an object of the type DataVisualization.ChartFrame.