語言

Range 建構函式

定義

多載

名稱 Description
Range(Position, Position)

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

Range(Int32, Int32, Int32, Int32)

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

Range(Position, Position)

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

public Range(Microsoft.Bot.Builder.LanguageGeneration.Position start, Microsoft.Bot.Builder.LanguageGeneration.Position end);
new Microsoft.Bot.Builder.LanguageGeneration.Range : Microsoft.Bot.Builder.LanguageGeneration.Position * Microsoft.Bot.Builder.LanguageGeneration.Position -> Microsoft.Bot.Builder.LanguageGeneration.Range
Public Sub New (start As Position, end As Position)

參數

start
Position

從檔案開始 Position 。

end
Position

最後以檔案收尾 Position 。

適用於

Range(Int32, Int32, Int32, Int32)

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

public Range(int startLine, int startChar, int endLine, int endChar);
new Microsoft.Bot.Builder.LanguageGeneration.Range : int * int * int * int -> Microsoft.Bot.Builder.LanguageGeneration.Range
Public Sub New (startLine As Integer, startChar As Integer, endLine As Integer, endChar As Integer)

參數

startLine
Int32

檔案中的起始行號。

startChar
Int32

起始角色號碼在起始線上。

endLine
Int32

檔案中的結尾行號。

endChar
Int32

結尾字號。

適用於