Expression.DebugInfo(SymbolDocumentInfo, Int32, Int32, Int32, Int32) 方法
定義
使用指定的時間範圍建立 DebugInfoExpression。Creates a DebugInfoExpression with the specified span.
public:
static System::Linq::Expressions::DebugInfoExpression ^ DebugInfo(System::Linq::Expressions::SymbolDocumentInfo ^ document, int startLine, int startColumn, int endLine, int endColumn);
public static System.Linq.Expressions.DebugInfoExpression DebugInfo (System.Linq.Expressions.SymbolDocumentInfo document, int startLine, int startColumn, int endLine, int endColumn);
static member DebugInfo : System.Linq.Expressions.SymbolDocumentInfo * int * int * int * int -> System.Linq.Expressions.DebugInfoExpression
Public Shared Function DebugInfo (document As SymbolDocumentInfo, startLine As Integer, startColumn As Integer, endLine As Integer, endColumn As Integer) As DebugInfoExpression
參數
- document
- SymbolDocumentInfo
表示原始程式檔的 SymbolDocumentInfo。The SymbolDocumentInfo that represents the source file.
- startLine
- Int32
這個 DebugInfoExpression 的起始行。The start line of this DebugInfoExpression. 必須大於 0。Must be greater than 0.
- startColumn
- Int32
這個 DebugInfoExpression 的起始欄。The start column of this DebugInfoExpression. 必須大於 0。Must be greater than 0.
- endLine
- Int32
這個 DebugInfoExpression 的結尾行。The end line of this DebugInfoExpression. 必須大於或等於起始行。Must be greater or equal than the start line.
- endColumn
- Int32
這個 DebugInfoExpression 的結尾欄。The end column of this DebugInfoExpression. 如果結尾行與起始行相同,則結尾欄必須大於或等於起始欄。If the end line is the same as the start line, it must be greater or equal than the start column. 在任何情況下,都必須大於 0。In any case, must be greater than 0.
傳回
DebugInfoExpression 的執行個體。An instance of DebugInfoExpression.