VsTextBufferCoordinatorClass.MapPrimaryToSecondarySpan Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Déclaration
Public Overridable Function MapPrimaryToSecondarySpan ( _
tsPrimary As TextSpan, _
<OutAttribute> ptsSecondary As TextSpan() _
) As Integer
'Utilisation
Dim instance As VsTextBufferCoordinatorClass
Dim tsPrimary As TextSpan
Dim ptsSecondary As TextSpan()
Dim returnValue As Integer
returnValue = instance.MapPrimaryToSecondarySpan(tsPrimary, _
ptsSecondary)
public virtual int MapPrimaryToSecondarySpan(
TextSpan tsPrimary,
TextSpan[] ptsSecondary
)
public:
virtual int MapPrimaryToSecondarySpan(
[InAttribute] TextSpan tsPrimary,
[OutAttribute] array<TextSpan>^ ptsSecondary
)
abstract MapPrimaryToSecondarySpan :
tsPrimary:TextSpan *
ptsSecondary:TextSpan[] byref -> int
override MapPrimaryToSecondarySpan :
tsPrimary:TextSpan *
ptsSecondary:TextSpan[] byref -> int
public function MapPrimaryToSecondarySpan(
tsPrimary : TextSpan,
ptsSecondary : TextSpan[]
) : int
Parameters
- tsPrimary
Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan
- ptsSecondary
Type: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
Return Value
Type: System.Int32
Implements
IVsTextBufferCoordinator.MapPrimaryToSecondarySpan(TextSpan, array<TextSpan[])
.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
VsTextBufferCoordinatorClass Class