Expression.DebugInfo(SymbolDocumentInfo, Int32, Int32, Int32, Int32) 方法

定义

使用指定的范围创建一个 DebugInfoExpression

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 源文件。

startLine
Int32

DebugInfoExpression的起始行。 必须大于 0。

startColumn
Int32

DebugInfoExpression列的起始列。 必须大于 0。

endLine
Int32

DebugInfoExpression结尾行。 必须大于或等于起始行。

endColumn
Int32

DebugInfoExpression列的结束列。 如果结束行与起始行相同,则它必须大于或等于起始列。 在任何情况下,都必须大于 0。

返回

DebugInfoExpression的实例。

适用于