다음을 통해 공유


VersionControlPath.Match 메서드

폴더 및 와일드 카드를 수 있는 이름이 일치 하는지 여부를 확인 하려면 항목을 비교 합니다. 재귀는 일치 하는 항목은 matchFolder에서 일치 합니다. 일치 하는 와일드 카드 매칭 규칙은 NT 파일 시스템을 사용 하 여 수행 됩니다.

네임스페이스:  Microsoft.TeamFoundation.VersionControl.Common
어셈블리:  Microsoft.TeamFoundation.VersionControl.Common(Microsoft.TeamFoundation.VersionControl.Common.dll)

구문

‘선언
Public Shared Function Match ( _
    item As String, _
    matchFolder As String, _
    matchPattern As String, _
    recursive As Boolean _
) As Boolean
public static bool Match(
    string item,
    string matchFolder,
    string matchPattern,
    bool recursive
)

매개 변수

  • matchFolder
    형식: System.String
    일치 하는 폴더입니다.
  • matchPattern
    형식: System.String
    일치 하는 와일드 카드입니다.
  • recursive
    형식: System.Boolean
    여부는 일치 반복적으로 발생 합니다.

반환 값

형식: System.Boolean
항목이 일치 하는 경우 false 그렇지 않으면 true입니다.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

VersionControlPath 클래스

Microsoft.TeamFoundation.VersionControl.Common 네임스페이스