TextSpanHelper.StartsAfterStartOf(TextSpan, TextSpan) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定第一个跨距是否在第二个范围的开始时间之后启动。
public:
static bool StartsAfterStartOf(Microsoft::VisualStudio::TextManager::Interop::TextSpan span1, Microsoft::VisualStudio::TextManager::Interop::TextSpan span2);
public:
static bool StartsAfterStartOf(Microsoft::VisualStudio::TextManager::Interop::TextSpan span1, Microsoft::VisualStudio::TextManager::Interop::TextSpan span2);
static bool StartsAfterStartOf(Microsoft::VisualStudio::TextManager::Interop::TextSpan span1, Microsoft::VisualStudio::TextManager::Interop::TextSpan span2);
public static bool StartsAfterStartOf (Microsoft.VisualStudio.TextManager.Interop.TextSpan span1, Microsoft.VisualStudio.TextManager.Interop.TextSpan span2);
static member StartsAfterStartOf : Microsoft.VisualStudio.TextManager.Interop.TextSpan * Microsoft.VisualStudio.TextManager.Interop.TextSpan -> bool
Public Shared Function StartsAfterStartOf (span1 As TextSpan, span2 As TextSpan) As Boolean
参数
返回
true如果的开始 span1 大于或等于的开头,则返回 span2 ; 否则返回 false 。
注解
此方法仅比较范围的起始点。 因此,此测试并不意味着这两个跨距相交,只是第一个范围的开始发生在第二个范围的开始处或之后。