Expression.DebugInfo(SymbolDocumentInfo, Int32, Int32, Int32, Int32) Método

Definição

Cria um DebugInfoExpression com o intervalo especificado.

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

Parâmetros

document
SymbolDocumentInfo

O SymbolDocumentInfo que representa o ficheiro fonte.

startLine
Int32

A linha de partida deste DebugInfoExpression. Deve ser maior que 0.

startColumn
Int32

A coluna inicial deste DebugInfoExpression. Deve ser maior que 0.

endLine
Int32

A linha final deste DebugInfoExpression. Deve ser maior ou igual que a linha de partida.

endColumn
Int32

A coluna final desta DebugInfoExpression. Se a linha final for igual à linha de partida, deve ser maior ou igual à coluna de partida. Em qualquer caso, deve ser maior que 0.

Devoluções

Um exemplo de DebugInfoExpression.

Aplica-se a