PatternMatch.MatchedSpans 属性

定义

原始文本中匹配的范围。 仅当要求模式匹配程序收集这些范围时才返回。

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)

属性值

ImmutableArray<Span>
属性

适用于