Share via


TextBuffer.Find 메서드

이 API는 .NET Framework 인프라를 지원하며 사용자 코드에서 직접 사용할 수 없습니다.

Microsoft 내부용입니다.

네임스페이스:  EnvDTE
어셈블리:  EnvDTE(EnvDTE.dll)

구문

‘선언
Function Find ( _
    Target As String, _
    <OutAttribute> ByRef StartLine As Integer, _
    <OutAttribute> ByRef StartColumn As Integer, _
    <OutAttribute> ByRef EndLine As Integer, _
    <OutAttribute> ByRef EndColumn As Integer, _
    WholeWord As Boolean, _
    MatchCase As Boolean, _
    PatternSearch As Boolean _
) As Boolean
bool Find(
    string Target,
    out int StartLine,
    out int StartColumn,
    out int EndLine,
    out int EndColumn,
    bool WholeWord,
    bool MatchCase,
    bool PatternSearch
)
bool Find(
    [InAttribute] String^ Target, 
    [InAttribute] [OutAttribute] int% StartLine, 
    [InAttribute] [OutAttribute] int% StartColumn, 
    [InAttribute] [OutAttribute] int% EndLine, 
    [InAttribute] [OutAttribute] int% EndColumn, 
    [InAttribute] bool WholeWord, 
    [InAttribute] bool MatchCase, 
    [InAttribute] bool PatternSearch
)
abstract Find : 
        Target:string * 
        StartLine:int byref * 
        StartColumn:int byref * 
        EndLine:int byref * 
        EndColumn:int byref * 
        WholeWord:bool * 
        MatchCase:bool * 
        PatternSearch:bool -> bool 
function Find(
    Target : String, 
    StartLine : int, 
    StartColumn : int, 
    EndLine : int, 
    EndColumn : int, 
    WholeWord : boolean, 
    MatchCase : boolean, 
    PatternSearch : boolean
) : boolean

매개 변수

  • WholeWord
    형식: System.Boolean
    찾기 작업에서 단어가 일치해야 하면 true이고, 그렇지 않으면 false.
  • MatchCase
    형식: System.Boolean
    찾기 작업에서 대상의 대/소문자가 일치해야 하면 true이고, 그렇지 않으면 false.
  • PatternSearch
    형식: System.Boolean
    찾기 작업에서 대상 패턴이 일치해야 하면 true이고, 그렇지 않으면 false.

반환 값

형식: System.Boolean
찾기 작업에서 문자열을 찾았으면 true이고, 그렇지 않으면 false입니다.

.NET Framework 보안

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

참고 항목

참조

TextBuffer 인터페이스

EnvDTE 네임스페이스