Locates the index of the specified data.

Namespace: Jscape.Email
Assembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0

Syntax

C#
public int IndexOf(
	byte data,
	int begin
)
Visual Basic
Public Function IndexOf ( _
	data As Byte, _
	begin As Integer _
) As Integer
Visual C++
public:
int IndexOf(
	unsigned char data, 
	int begin
)

Parameters

data
Type: System..::..Byte
The byte to search for.
begin
Type: System..::..Int32
The starting index.

Return Value

The index of the specified byte, or -1 if not found.

See Also