Edit

Share via


ValueString.Contains Method

Definition

Overloads

Contains(ValueString)

Returns a value indicating whether the specified substring occurs within the string.

Contains(Char)

Returns a value indicating whether the specified character occurs within the string.

Contains(ValueString)

Returns a value indicating whether the specified substring occurs within the string.

public bool Contains (Microsoft.Windows.EventTracing.ValueString value);
member this.Contains : Microsoft.Windows.EventTracing.ValueString -> bool
Public Function Contains (value As ValueString) As Boolean

Parameters

value
ValueString

The substring to seek.

Returns

true if the string contains the specified value, or if value is empty; otherwise, false.

Applies to

Contains(Char)

Returns a value indicating whether the specified character occurs within the string.

public bool Contains (char value);
member this.Contains : char -> bool
Public Function Contains (value As Char) As Boolean

Parameters

value
Char

The character to seek.

Returns

true if the string contains the specified value; otherwise, false.

Applies to