NormalizedSpanCollection.IntersectsWith 方法

定义

重载

IntersectsWith(Span)

确定此范围集与另一个跨度相交的是否。

IntersectsWith(NormalizedSpanCollection)

确定此范围集与其他范围集相交的是否。

IntersectsWith(Span)

确定此范围集与另一个跨度相交的是否。

public:
 bool IntersectsWith(Microsoft::VisualStudio::Text::Span span);
public:
 bool IntersectsWith(Microsoft::VisualStudio::Text::Span span);
bool IntersectsWith(Microsoft::VisualStudio::Text::Span span);
public bool IntersectsWith (Microsoft.VisualStudio.Text.Span span);
member this.IntersectsWith : Microsoft.VisualStudio.Text.Span -> bool
Public Function IntersectsWith (span As Span) As Boolean

参数

span
Span

返回

Boolean

如果此范围设置与给定跨度相交,则为 true ; 否则为false

适用于

IntersectsWith(NormalizedSpanCollection)

确定此范围集与其他范围集相交的是否。

public:
 bool IntersectsWith(Microsoft::VisualStudio::Text::NormalizedSpanCollection ^ set);
public bool IntersectsWith (Microsoft.VisualStudio.Text.NormalizedSpanCollection set);
member this.IntersectsWith : Microsoft.VisualStudio.Text.NormalizedSpanCollection -> bool
Public Function IntersectsWith (set As NormalizedSpanCollection) As Boolean

参数

set
NormalizedSpanCollection

设置为 "测试"。

返回

Boolean

如果范围交集,则为 true ; 否则为false

例外

set 为 null。

适用于