Edit

Kongsi melalui


ISymbolWriter.SetMethodSourceRange Method

Definition

Specifies the true start and end of a method within a source file. Use SetMethodSourceRange(ISymbolDocumentWriter, Int32, Int32, ISymbolDocumentWriter, Int32, Int32) to specify the extent of a method, independent of the sequence points that exist within the method.

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)

Parameters

startDoc
ISymbolDocumentWriter

The document that contains the starting position.

startLine
Int32

The starting line number.

startColumn
Int32

The starting column.

endDoc
ISymbolDocumentWriter

The document that contains the ending position.

endLine
Int32

The ending line number.

endColumn
Int32

The ending column number.

Applies to