VsTextBufferCoordinatorClass.MapSecondaryToPrimarySpan 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 MapSecondaryToPrimarySpan ( _
tsSecondary As TextSpan, _
<OutAttribute> ptsPrimary As TextSpan() _
) As Integer
'Utilisation
Dim instance As VsTextBufferCoordinatorClass
Dim tsSecondary As TextSpan
Dim ptsPrimary As TextSpan()
Dim returnValue As Integer
returnValue = instance.MapSecondaryToPrimarySpan(tsSecondary, _
ptsPrimary)
public virtual int MapSecondaryToPrimarySpan(
TextSpan tsSecondary,
TextSpan[] ptsPrimary
)
public:
virtual int MapSecondaryToPrimarySpan(
[InAttribute] TextSpan tsSecondary,
[OutAttribute] array<TextSpan>^ ptsPrimary
)
abstract MapSecondaryToPrimarySpan :
tsSecondary:TextSpan *
ptsPrimary:TextSpan[] byref -> int
override MapSecondaryToPrimarySpan :
tsSecondary:TextSpan *
ptsPrimary:TextSpan[] byref -> int
public function MapSecondaryToPrimarySpan(
tsSecondary : TextSpan,
ptsPrimary : TextSpan[]
) : int
Parameters
- tsSecondary
Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan
- ptsPrimary
Type: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
Return Value
Type: System.Int32
Implements
IVsTextBufferCoordinator.MapSecondaryToPrimarySpan(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