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