IVsTextView3.AddProjectionAwareCommandFilter 메서드
Adds a command filter which will be called even when the view selection or caret does not map to the underlying buffer.
네임스페이스: Microsoft.VisualStudio.TextManager.Interop
어셈블리: Microsoft.VisualStudio.TextManager.Interop.11.0(Microsoft.VisualStudio.TextManager.Interop.11.0.dll)
구문
‘선언
Function AddProjectionAwareCommandFilter ( _
pNewCmdTarg As IOleCommandTarget, _
<OutAttribute> ByRef ppNextCmdTarg As IOleCommandTarget _
) As Integer
int AddProjectionAwareCommandFilter(
IOleCommandTarget pNewCmdTarg,
out IOleCommandTarget ppNextCmdTarg
)
int AddProjectionAwareCommandFilter(
[InAttribute] IOleCommandTarget^ pNewCmdTarg,
[OutAttribute] IOleCommandTarget^% ppNextCmdTarg
)
abstract AddProjectionAwareCommandFilter :
pNewCmdTarg:IOleCommandTarget *
ppNextCmdTarg:IOleCommandTarget byref -> int
function AddProjectionAwareCommandFilter(
pNewCmdTarg : IOleCommandTarget,
ppNextCmdTarg : IOleCommandTarget
) : int
매개 변수
pNewCmdTarg
형식: IOleCommandTarget[in] Pointer to the new command filter to add to the command filter chain.
ppNextCmdTarg
형식: IOleCommandTarget%[out] Pointer to a command filter used to handle commands not dealt with by the pNewCmdTarg command filter.
반환 값
형식: Int32
Returns S_OK if the method is successful; otherwise, returns an error code.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.