Partager via


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

'Declaration
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.

Return Value

Type: System.Int32
Returns S_OK if the method succeeds; otherwise, returns an error code.

.NET Framework Security

See Also

Reference

IVsSetSpanMappingEvents Interface

Microsoft.VisualStudio.TextManager.Interop Namespace