ValueString.StartsWith Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.