IVsTextLines.FindMarkerByLineIndex 메서드
행 인덱스를 기반으로 특정 유형의 마커를 찾습니다.
네임스페이스: Microsoft.VisualStudio.TextManager.Interop
어셈블리: Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)
구문
‘선언
Function FindMarkerByLineIndex ( _
iMarkerType As Integer, _
iStartingLine As Integer, _
iStartingIndex As Integer, _
dwFlags As UInteger, _
<OutAttribute> ByRef ppMarker As IVsTextLineMarker _
) As Integer
int FindMarkerByLineIndex(
int iMarkerType,
int iStartingLine,
int iStartingIndex,
uint dwFlags,
out IVsTextLineMarker ppMarker
)
int FindMarkerByLineIndex(
[InAttribute] int iMarkerType,
[InAttribute] int iStartingLine,
[InAttribute] int iStartingIndex,
[InAttribute] unsigned int dwFlags,
[OutAttribute] IVsTextLineMarker^% ppMarker
)
abstract FindMarkerByLineIndex :
iMarkerType:int *
iStartingLine:int *
iStartingIndex:int *
dwFlags:uint32 *
ppMarker:IVsTextLineMarker byref -> int
function FindMarkerByLineIndex(
iMarkerType : int,
iStartingLine : int,
iStartingIndex : int,
dwFlags : uint,
ppMarker : IVsTextLineMarker
) : int
매개 변수
iMarkerType
형식: Int32[in] 찾을 수 있는 표식 유형을 지정 합니다.
iStartingLine
형식: Int32[in] 시작 줄입니다.
iStartingIndex
형식: Int32[in] 시작 문자 줄 내의 인덱스입니다. 줄의 길이 보다 작거나 있어야 합니다.
dwFlags
형식: UInt32[in] 마커를 검색 하는 방향을 지정 합니다. 목록에 대 한 dwFlags 값을 참조 하십시오. FINDMARKERFLAGS.
ppMarker
형식: Microsoft.VisualStudio.TextManager.Interop.IVsTextLineMarker%[out] 에 대 한 포인터를 IVsTextLineMarker 인터페이스 (예: 텍스트 마커).
반환 값
형식: Int32
메서드가 성공 하면, 반환 S_OK.실패할 경우 오류 코드를 반환합니다.
설명
COM 시그니처
Textmgr.idl에서:
HRESULT IVsTextLines::FindMarkerByLineIndex(
[in] long iMarkerType,
[in] long iStartingLine,
[in] CharIndex iStartingIndex,
[in] DWORD dwFlags,
[out] IVsTextLineMarker **ppMarker
);
이 메서드는 마커를 사용 하 여 지정 된 제한에 대 한 검색은 dwFlags 및 iMarkerType 매개 변수.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.