Intersoft WebInput Documentation
IndexOf Method
See Also  Send Feedback
ISNet.WebUI.WebControls Namespace > LookUpCharCollection Class : IndexOf Method






value
The LookUpChar object to locate.

Glossary Item Box

Searches for the specified LookUpChar object and returns the zero-based index of the first occurrence within the LookUpCharCollection.Searches for the specified LookUpChar object and returns the zero-based index of the first occurrence within the LookUpCharCollection.

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.DescriptionAttribute("Searches for the specified LookUpChar object and returns the zero-based index of the first occurrence within the LookUpCharCollection.")>
Public Function IndexOf( _
   ByVal value As LookUpChar _
) As System.Integer
Visual Basic (Usage)Copy Code
Dim instance As LookUpCharCollection
Dim value As LookUpChar
Dim value As System.Integer
 
value = instance.IndexOf(value)
C# 
[System.ComponentModel.DescriptionAttribute("Searches for the specified LookUpChar object and returns the zero-based index of the first occurrence within the LookUpCharCollection.")]
public System.int IndexOf( 
   LookUpChar value
)
Delphi 
public function IndexOf( 
    value: LookUpChar
): System.Integer; 
JScript 
System.ComponentModel.DescriptionAttribute("Searches for the specified LookUpChar object and returns the zero-based index of the first occurrence within the LookUpCharCollection.")
public function IndexOf( 
   value : LookUpChar
) : System.int;
Managed Extensions for C++ 
[System.ComponentModel.DescriptionAttribute("Searches for the specified LookUpChar object and returns the zero-based index of the first occurrence within the LookUpCharCollection.")]
public: System.int IndexOf( 
   LookUpChar* value
) 
C++/CLI 
[System.ComponentModel.DescriptionAttribute("Searches for the specified LookUpChar object and returns the zero-based index of the first occurrence within the LookUpCharCollection.")]
public:
System.int IndexOf( 
   LookUpChar^ value
) 

Parameters

value
The LookUpChar object to locate.

Return Value

The zero-based index of the first occurrence of value in the LookUpCharCollection, if found; otherwise, -1.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2013 Intersoft Solutions Corp. All Rights Reserved.