VsTextBufferCoordinatorClass.SetSpanMappings(Int32, NewSpanMapping[]) Method

Definition

Establishes the list of mappings between the primary and secondary buffers.

 virtual int SetSpanMappings(int cSpans, std::Array <Microsoft::VisualStudio::TextManager::Interop::NewSpanMapping> const & rgSpans);

Parameters

cSpans
Int32

[in] The number of mappings specified in the rgSpans array.

rgSpans
NewSpanMapping[]

[in] An array of NewSpanMapping structures each of which specify a single mapping between the primary and secondary buffers.

Returns

If successful, returns S_OK; otherwise, returns an error code.

Implements

Applies to