語言

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

定義

建立具有指定範圍的 a 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的實例。

適用於