IVsSetSpanMappingEvents.OnBeginSetSpanMappings Method

Definition

Fires event when span mapping begins.

public:
 int OnBeginSetSpanMappings(int cSpans, cli::array <Microsoft::VisualStudio::TextManager::Interop::NewSpanMapping> ^ rgSpans);
int OnBeginSetSpanMappings(int cSpans, std::Array <Microsoft::VisualStudio::TextManager::Interop::NewSpanMapping> const & rgSpans);
public int OnBeginSetSpanMappings (int cSpans, Microsoft.VisualStudio.TextManager.Interop.NewSpanMapping[] rgSpans);
abstract member OnBeginSetSpanMappings : int * Microsoft.VisualStudio.TextManager.Interop.NewSpanMapping[] -> int
Public Function OnBeginSetSpanMappings (cSpans As Integer, rgSpans As NewSpanMapping()) As Integer

Parameters

cSpans
Int32

[in] Number of spans to be mapped.

rgSpans
NewSpanMapping[]

[in, size_is(cSpans) The spans to be mapped.

Returns

Returns S_OK if the method succeeds; otherwise, returns an error code.

Applies to