CollationInfo.IsPrefix 메서드

Determines whether the specified source string starts with the specified prefix.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.Metadata
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

구문

‘선언
Public Function IsPrefix ( _
    source As String, _
    prefix As String _
) As Boolean
‘사용 방법
Dim instance As CollationInfo 
Dim source As String 
Dim prefix As String 
Dim returnValue As Boolean 

returnValue = instance.IsPrefix(source, _
    prefix)
public bool IsPrefix(
    string source,
    string prefix
)
public:
bool IsPrefix(
    String^ source, 
    String^ prefix
)
member IsPrefix : 
        source:string * 
        prefix:string -> bool
public function IsPrefix(
    source : String, 
    prefix : String
) : boolean

매개 변수

  • prefix
    유형: System.String
    The prefix to compare with the beginning of the source.

반환 값

유형: System.Boolean
true if the source string starts with the prefix; otherwise, false.

참고 항목

참조

CollationInfo 클래스

Microsoft.SqlServer.Management.SqlParser.Metadata 네임스페이스