Share via


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

源将位于文件中的行号。

适用于