DebuggerService.GetExactLocation(SourceLocation) 方法

定义

基于活动在其序列化的 XAML 形式中的起始行号和结束行号,返回准确的源文件位置。Returns an exact source file location based on the start and end line numbers of the activity in its serialized XAML form.

public:
 virtual System::Activities::Debugger::SourceLocation ^ GetExactLocation(System::Activities::Debugger::SourceLocation ^ approximateLocation);
public System.Activities.Debugger.SourceLocation GetExactLocation (System.Activities.Debugger.SourceLocation approximateLocation);
abstract member GetExactLocation : System.Activities.Debugger.SourceLocation -> System.Activities.Debugger.SourceLocation
override this.GetExactLocation : System.Activities.Debugger.SourceLocation -> System.Activities.Debugger.SourceLocation
Public Function GetExactLocation (approximateLocation As SourceLocation) As SourceLocation

参数

approximateLocation
SourceLocation

已知不准确的源文件位置。A source file location known to be inexact.

返回

SourceLocation

源文件中的准确位置。An exact location in the source file.

实现

适用于