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