Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


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.

C#
public void SetMethodSourceRange(System.Diagnostics.SymbolStore.ISymbolDocumentWriter startDoc, int startLine, int startColumn, System.Diagnostics.SymbolStore.ISymbolDocumentWriter endDoc, int endLine, int endColumn);

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

Termék Verziók
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1