다음을 통해 공유


IVsFindTarget.Find 메서드

텍스트 문자열 검색을 요청합니다.

네임스페이스:  Microsoft.VisualStudio.TextManager.Interop
어셈블리:  Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)

구문

‘선언
Function Find ( _
    pszSearch As String, _
    grfOptions As UInteger, _
    fResetStartPoint As Integer, _
    pHelper As IVsFindHelper, _
    <OutAttribute> ByRef pResult As UInteger _
) As Integer
int Find(
    string pszSearch,
    uint grfOptions,
    int fResetStartPoint,
    IVsFindHelper pHelper,
    out uint pResult
)
int Find(
    [InAttribute] String^ pszSearch, 
    [InAttribute] unsigned int grfOptions, 
    [InAttribute] int fResetStartPoint, 
    [InAttribute] IVsFindHelper^ pHelper, 
    [OutAttribute] unsigned int% pResult
)
abstract Find : 
        pszSearch:string * 
        grfOptions:uint32 * 
        fResetStartPoint:int * 
        pHelper:IVsFindHelper * 
        pResult:uint32 byref -> int
function Find(
    pszSearch : String, 
    grfOptions : uint, 
    fResetStartPoint : int, 
    pHelper : IVsFindHelper, 
    pResult : uint
) : int

매개 변수

  • pszSearch
    형식: String

    [in] 검색 텍스트를 포함 하는 null 문자로 끝나는 문자열에 대 한 포인터입니다.

  • grfOptions
    형식: UInt32

    [in] 검색 옵션을 지정합니다. 값에서 결정 되는 __VSFINDOPTIONS 열거형입니다.

  • fResetStartPoint
    형식: Int32

    [in] 검색을 다시 설정 하려면 플래그 지점을 시작 합니다.

  • pResult
    형식: UInt32%

    [out] 검색 결과에 대 한 포인터입니다. 값에서 결정 되는 __VSFINDRESULT 열거형입니다.

반환 값

형식: Int32
메서드가 성공 하면, 반환 S_OK.실패할 경우 오류 코드를 반환합니다.

설명

COM 시그니처

Textmgr.idl에서:

HRESULT IVsFindTarget::Find(
   [in] LPCOLESTR pszSearch,
   [in] VSFINDOPTIONS grfOptions,
   [in] BOOL fResetStartPoint,
   [in] IVsFindHelper * pHelper
);

이 메서드를 사용 하는 경우에만 GetSearchImage 구현 되지 않습니다.

.NET Framework 보안

참고 항목

참조

IVsFindTarget 인터페이스

Microsoft.VisualStudio.TextManager.Interop 네임스페이스