IVsSetSpanMappingEvents::OnBeginSetSpanMappings Method (Int32, array<NewSpanMapping>^)

 

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)

int OnBeginSetSpanMappings(
	int cSpans,
	array<NewSpanMapping>^ rgSpans
)

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.

Return to top
Show: