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 |
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
) |
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