Edit

Share via


ValueString.LastIndexOf Method

Definition

Overloads

LastIndexOf(ValueString)

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

LastIndexOf(Char)

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

LastIndexOf(ValueString)

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

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

Parameters

value
ValueString

The string to seek.

Returns

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

Applies to

LastIndexOf(Char)

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

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

Parameters

value
Char

The character to seek.

Returns

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

Applies to