IVsCanCoordinatorClipTextSpan::ShouldClipSpanToValidSpanInSecondaryBuffer Method (IVsTextLines^, IVsTextLines^, array<TextSpan>^, Int32)
Visual Studio 2015
Determines whether the buffer coordinator should clip a text span to a valid span in the secondary buffer.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
int ShouldClipSpanToValidSpanInSecondaryBuffer( IVsTextLines^ pPrimaryBuffer, IVsTextLines^ pSecondaryBuffer, array<TextSpan>^ ptsTextSpanInPrimaryBuffer, [OutAttribute] int% pfShouldClipTextSpan )
Parameters
- pPrimaryBuffer
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^
[in] Pointer to the primary buffer.
- pSecondaryBuffer
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^
[in] Pointer to the secondary buffer.
- ptsTextSpanInPrimaryBuffer
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^
[in] Pointer to the text span.
- pfShouldClipTextSpan
-
Type:
System::Int32
[out] Value is true if the buffer coordinator should clip the text span to a valid span in the secondary buffer.
Show: