Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
Function ShouldClipSpanToValidSpanInSecondaryBuffer ( _
pPrimaryBuffer As IVsTextLines, _
pSecondaryBuffer As IVsTextLines, _
ptsTextSpanInPrimaryBuffer As TextSpan(), _
<OutAttribute> ByRef pfShouldClipTextSpan As Integer _
) As Integer
'Usage
Dim instance As IVsCanCoordinatorClipTextSpan
Dim pPrimaryBuffer As IVsTextLines
Dim pSecondaryBuffer As IVsTextLines
Dim ptsTextSpanInPrimaryBuffer As TextSpan()
Dim pfShouldClipTextSpan As Integer
Dim returnValue As Integer
returnValue = instance.ShouldClipSpanToValidSpanInSecondaryBuffer(pPrimaryBuffer, _
pSecondaryBuffer, ptsTextSpanInPrimaryBuffer, _
pfShouldClipTextSpan)
int ShouldClipSpanToValidSpanInSecondaryBuffer(
IVsTextLines pPrimaryBuffer,
IVsTextLines pSecondaryBuffer,
TextSpan[] ptsTextSpanInPrimaryBuffer,
out int pfShouldClipTextSpan
)
int ShouldClipSpanToValidSpanInSecondaryBuffer(
[InAttribute] IVsTextLines^ pPrimaryBuffer,
[InAttribute] IVsTextLines^ pSecondaryBuffer,
[InAttribute] array<TextSpan>^ ptsTextSpanInPrimaryBuffer,
[OutAttribute] int% pfShouldClipTextSpan
)
abstract ShouldClipSpanToValidSpanInSecondaryBuffer :
pPrimaryBuffer:IVsTextLines *
pSecondaryBuffer:IVsTextLines *
ptsTextSpanInPrimaryBuffer:TextSpan[] *
pfShouldClipTextSpan:int byref -> int
function ShouldClipSpanToValidSpanInSecondaryBuffer(
pPrimaryBuffer : IVsTextLines,
pSecondaryBuffer : IVsTextLines,
ptsTextSpanInPrimaryBuffer : TextSpan[],
pfShouldClipTextSpan : int
) : int
Parameters
- pPrimaryBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines
- pSecondaryBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines
- ptsTextSpanInPrimaryBuffer
Type: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
- pfShouldClipTextSpan
Type: System.Int32%
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsCanCoordinatorClipTextSpan Interface