IVsSetSpanMappingEvents.OnBeginSetSpanMappings Method
Fires event when span mapping begins.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Déclaration
Function OnBeginSetSpanMappings ( _
cSpans As Integer, _
rgSpans As NewSpanMapping() _
) As Integer
int OnBeginSetSpanMappings(
int cSpans,
NewSpanMapping[] rgSpans
)
int OnBeginSetSpanMappings(
[InAttribute] int cSpans,
[InAttribute] array<NewSpanMapping>^ rgSpans
)
abstract OnBeginSetSpanMappings :
cSpans:int *
rgSpans:NewSpanMapping[] -> int
function OnBeginSetSpanMappings(
cSpans : int,
rgSpans : NewSpanMapping[]
) : int
Parameters
- cSpans
Type: System.Int32
[in] Number of spans to be mapped.
- rgSpans
Type: array<Microsoft.VisualStudio.TextManager.Interop.NewSpanMapping[]
[in, size_is(cSpans) The spans to be mapped.
Return Value
Type: System.Int32
Returns S_OK if the method succeeds; otherwise, returns an error code.
.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.