Dundas Chart for ASP.NET
GetIndex Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > NamedImagesCollection Class : GetIndex Method


name
Name of the image.
Name of the image.
Get the image index by name.
Get image index by name.

Syntax

Visual Basic (Declaration)  
Public Function GetIndex( _
   ByVal name As String _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As NamedImagesCollection
Dim name As String
Dim value As Integer
 
value = instance.GetIndex(name)
C#  
public int GetIndex( 
   string name
)

Parameters

name
Name of the image.
Name of the image.

Return Value

Index of the image, or -1 if not found.
Index of the image or -1 if it does not exist.

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.