IVsSetSpanMappingEvents.OnBeginSetSpanMappings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.