語言

Dialog.RegisterSourceLocation(String, Int32) 方法

定義

在指定位置註冊 cref=“SourceRange”/> 。

protected void RegisterSourceLocation(string path, int lineNumber);
member this.RegisterSourceLocation : string * int -> unit
Protected Sub RegisterSourceLocation (path As String, lineNumber As Integer)

參數

path
String

來源檔案的路徑。

lineNumber
Int32

檔案中來源所在的行號。

適用於