Bagikan melalui


ISymbolWriter.SetMethodSourceRange Metode

Definisi

Menentukan awal dan akhir sebenarnya dari metode dalam file sumber. Gunakan SetMethodSourceRange(ISymbolDocumentWriter, Int32, Int32, ISymbolDocumentWriter, Int32, Int32) untuk menentukan sejauh mana metode, terlepas dari titik urutan yang ada dalam metode .

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)

Parameter

startDoc
ISymbolDocumentWriter

Dokumen yang berisi posisi awal.

startLine
Int32

Nomor baris awal.

startColumn
Int32

Kolom awal.

endDoc
ISymbolDocumentWriter

Dokumen yang berisi posisi akhir.

endLine
Int32

Nomor baris akhir.

endColumn
Int32

Nomor kolom akhir.

Berlaku untuk