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 的執行個體。

適用於