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

매개 변수

  • Target
    형식: String

    찾을 문자열입니다.

  • StartLine
    형식: Int32%

    시작할 줄입니다.

  • StartColumn
    형식: Int32%

    시작할 열입니다.

  • EndLine
    형식: Int32%

    중지할 줄입니다.

  • EndColumn
    형식: Int32%

    중지할 열입니다.

  • WholeWord
    형식: Boolean

    찾기 작업에서 단어가 일치해야 하면 true이고, 그렇지 않으면 false.

  • MatchCase
    형식: Boolean

    찾기 작업에서 대상의 대/소문자가 일치해야 하면 true이고, 그렇지 않으면 false.

  • PatternSearch
    형식: Boolean

    찾기 작업에서 대상 패턴이 일치해야 하면 true이고, 그렇지 않으면 false.

반환 값

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

.NET Framework 보안

참고 항목

참조

TextBuffer 인터페이스

EnvDTE 네임스페이스