语言

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

文件中源代码所在的行号。

适用于