Edit

Share via


ValueString.StartsWith Method

Definition

Overloads

StartsWith(ValueString)

Determines whether this string starts with the specified string.

StartsWith(Char)

Determines whether this string starts with the specified character.

StartsWith(ValueString)

Determines whether this string starts with the specified string.

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

Parameters

value
ValueString

The string to compare.

Returns

true if this string starts with the specified value or if value is empty; otherwise, false.

Applies to

StartsWith(Char)

Determines whether this string starts with the specified character.

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

Parameters

value
Char

The character to compare.

Returns

true if this string starts with the specified value; otherwise, false.

Applies to