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] 검색을 다시 설정 하려면 플래그 지점을 시작 합니다.
pHelper
형식: Microsoft.VisualStudio.TextManager.Interop.IVsFindHelper[in] 에 대 한 포인터를 IVsFindHelper 인터페이스입니다.
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 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.