語言

SourceRange 類別

定義

範圍代表一個檔案,即文字的起點與終點。

public class SourceRange : IEquatable<Microsoft.Bot.Builder.Dialogs.Debugging.SourceRange>
type SourceRange = class
    interface IEquatable<SourceRange>
Public Class SourceRange
Implements IEquatable(Of SourceRange)
繼承
SourceRange
實作

建構函式

名稱 Description
SourceRange()

初始化 SourceRange 類別的新執行個體。

SourceRange(String, Int32, Int32, Int32, Int32)

初始化 SourceRange 類別的新執行個體。

屬性

名稱 Description
Designer

取得或設定可選的設計資訊。

EndPoint

取得或設定來源檔案的終點。

Path

取得或設定路徑到原始檔案。

StartPoint

取得或設定來源檔案的起始點。

方法

名稱 Description
DeepClone()

建立一個新的 實例。SourceRange 所有屬性皆為遞迴克隆。

Equals(Object)

表示電流 SourceRange 是否等於另一個物體。

Equals(SourceRange)

表示電流 SourceRange 是否等於同類型的另一個物體。

GetHashCode()

為當前 SourceRange的雜湊碼 。

ToString()

回傳一個代表當前 SourceRange的字串。

適用於