Share via


ISymbolWriter.SetMethodSourceRange Método

Definição

Especifica os verdadeiros início e término de um método de dentro de um arquivo de origem. Use SetMethodSourceRange(ISymbolDocumentWriter, Int32, Int32, ISymbolDocumentWriter, Int32, Int32) para especificar a extensão de um método, independente dos pontos de sequência que existem dentro do método.

public:
 void SetMethodSourceRange(System::Diagnostics::SymbolStore::ISymbolDocumentWriter ^ startDoc, int startLine, int startColumn, System::Diagnostics::SymbolStore::ISymbolDocumentWriter ^ endDoc, int endLine, int endColumn);
public void SetMethodSourceRange (System.Diagnostics.SymbolStore.ISymbolDocumentWriter startDoc, int startLine, int startColumn, System.Diagnostics.SymbolStore.ISymbolDocumentWriter endDoc, int endLine, int endColumn);
abstract member SetMethodSourceRange : System.Diagnostics.SymbolStore.ISymbolDocumentWriter * int * int * System.Diagnostics.SymbolStore.ISymbolDocumentWriter * int * int -> unit
Public Sub SetMethodSourceRange (startDoc As ISymbolDocumentWriter, startLine As Integer, startColumn As Integer, endDoc As ISymbolDocumentWriter, endLine As Integer, endColumn As Integer)

Parâmetros

startDoc
ISymbolDocumentWriter

O documento que contém a posição inicial.

startLine
Int32

O número de linha inicial.

startColumn
Int32

A coluna inicial.

endDoc
ISymbolDocumentWriter

O documento que contém a posição final.

endLine
Int32

O número de linha final.

endColumn
Int32

O número de coluna final.

Aplica-se a