ChartNamedElementCollection(Of T).IndexOf Method (String)
.NET Framework (current version)
Finds the index of the chart element with the specified name.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
Parameters
- name
-
Type:
System.String
The name of the chart element.
Return Value
Type: System.Int32An integer value that represents the position of the chart element in the zero-based index.
.NET Framework
Available since 4.0
Available since 4.0
Show: