Collation.StartsWith MethodCollation.StartsWith MethodCollation::StartsWith Method
Returns a boolean value indicating whether one string starts with a specified prefix under this collation.
Parameters
- value
- prefix
Return Value
Type: System.BooleanSystem.BooleanSystem::Boolean
trueTruetrue if the value starts with prefix; otherwise
falseFalsefalse.
Exceptions
| Exception | Condition |
| ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
value or prefix is null
a null reference (Nothing in Visual Basic)
nullptr.
|
Remarks
This method implements the fn:starts-with function for the specified collation, and should follow the
same semantics.
