Método VsTextBufferCoordinatorClass.MapSecondaryToPrimarySpan
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 MapSecondaryToPrimarySpan ( _
tsSecondary As TextSpan, _
<OutAttribute> ptsPrimary As TextSpan() _
) As Integer
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
Parâmetros
- tsSecondary
Tipo: Microsoft.VisualStudio.TextManager.Interop.TextSpan
- ptsPrimary
Tipo: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
Valor de retorno
Tipo: Int32
Implementações
IVsTextBufferCoordinator.MapSecondaryToPrimarySpan(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.