IElisionBuffer.ExpandSpans(NormalizedSpanCollection) 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.
Expands the text specified by spansToExpand
.
public:
Microsoft::VisualStudio::Text::Projection::IProjectionSnapshot ^ ExpandSpans(Microsoft::VisualStudio::Text::NormalizedSpanCollection ^ spansToExpand);
public Microsoft.VisualStudio.Text.Projection.IProjectionSnapshot ExpandSpans (Microsoft.VisualStudio.Text.NormalizedSpanCollection spansToExpand);
abstract member ExpandSpans : Microsoft.VisualStudio.Text.NormalizedSpanCollection -> Microsoft.VisualStudio.Text.Projection.IProjectionSnapshot
Public Function ExpandSpans (spansToExpand As NormalizedSpanCollection) As IProjectionSnapshot
Parameters
- spansToExpand
- NormalizedSpanCollection
The spans of text to expand, with respect to the current snapshot of the source buffer. It is not an error if some of the designated text is already expanded.
Returns
Exceptions
spansToExpand
is null.
The end of the final spans in spansToExpand
is greater
than SourceBuffer.CurrentSnapshot.Length.