Método VsTextBufferCoordinatorClass.MapPrimaryToSecondarySpan
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (em Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Sintaxe
'Declaração
Public Overridable Function MapPrimaryToSecondarySpan ( _
tsPrimary As TextSpan, _
<OutAttribute> ptsSecondary As TextSpan() _
) As Integer
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
Parâmetros
- tsPrimary
Tipo: Microsoft.VisualStudio.TextManager.Interop.TextSpan
- ptsSecondary
Tipo: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
Valor de retorno
Tipo: Int32
Implementações
IVsTextBufferCoordinator.MapPrimaryToSecondarySpan(TextSpan, array<TextSpan[])
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.