다음을 통해 공유


TFStringComparer.StartsWith Method

Checks whether the specified string starts with the specified pattern.

Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

‘선언
Public Function StartsWith ( _
    main As String, _
    pattern As String _
) As Boolean
public bool StartsWith(
    string main,
    string pattern
)
public:
bool StartsWith(
    String^ main, 
    String^ pattern
)
member StartsWith : 
        main:string * 
        pattern:string -> bool 
public function StartsWith(
    main : String, 
    pattern : String
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the specified string starts with the specified pattern; otherwise, false.

.NET Framework Security

See Also

Reference

TFStringComparer Class

Microsoft.TeamFoundation Namespace