Partilhar via


PatternMatch.MatchedSpans Property

Definition

The spans in the original text that were matched. Only returned if the pattern matcher is asked to collect these spans.

public:
 property System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Text::Span> MatchedSpans { System::Collections::Immutable::ImmutableArray<Microsoft::VisualStudio::Text::Span> get(); };
public System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Text.Span> MatchedSpans { get; }
public System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Text.Span> MatchedSpans { [System.Runtime.CompilerServices.IsReadOnly] get; }
member this.MatchedSpans : System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Text.Span>
[<get: System.Runtime.CompilerServices.IsReadOnly>]
member this.MatchedSpans : System.Collections.Immutable.ImmutableArray<Microsoft.VisualStudio.Text.Span>
Public ReadOnly Property MatchedSpans As ImmutableArray(Of Span)

Property Value

Attributes

Applies to