This documentation is archived and is not being maintained.
TFStringComparer::StartsWith Method
Visual Studio 2013
Checks whether the specified string starts with the specified pattern.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Parameters
- main
- Type: System::String
The string to check.
- pattern
- Type: System::String
The pattern to search for.
Return Value
Type: System::BooleanTrue if the specified string starts with the specified pattern; otherwise, false.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Show: