Modifier

Partager via


ValueString.IndexOf Method

Definition

Overloads

IndexOf(ValueString)

Reports the zero-based index of the first occurrence of the specified string in this string.

IndexOf(Char)

Reports the zero-based index of the first occurrence of the specified character in this string.

IndexOf(ValueString)

Reports the zero-based index of the first occurrence of the specified string in this string.

public int IndexOf (Microsoft.Windows.EventTracing.ValueString value);
member this.IndexOf : Microsoft.Windows.EventTracing.ValueString -> int
Public Function IndexOf (value As ValueString) As Integer

Parameters

value
ValueString

The string to seek.

Returns

The zero-based index of the first string value in this string if that string is found; otherwise, -1.

Applies to

IndexOf(Char)

Reports the zero-based index of the first occurrence of the specified character in this string.

public int IndexOf (char value);
member this.IndexOf : char -> int
Public Function IndexOf (value As Char) As Integer

Parameters

value
Char

The character to seek.

Returns

The zero-based index of the first character value in this string if that character is found; otherwise, -1.

Applies to