IVsTextBufferCoordinator::MapPrimaryToSecondarySpan Method (TextSpan, array<TextSpan>^)
Visual Studio 2015
Maps the specified position in the primary buffer to a position in the secondary buffer.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Parameters
- tsPrimary
-
Type:
Microsoft.VisualStudio.TextManager.Interop::TextSpan
[in] A TextSpan object describing a position in the primary buffer.
- ptsSecondary
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::TextSpan>^
[in, out] A TextSpan object that is filled in with the corresponding position in the secondary buffer.
From singlefileeditor.idl:
HRESULT MapPrimaryToSecondarySpan(
[in] TextSpan tsPrimary,
[out] TextSpan *ptsSecondary
);
Show: