ISymbolWriter.SetMethodSourceRange Method

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

Namespace: System.Diagnostics.SymbolStore
Assembly: mscorlib (in mscorlib.dll)

void SetMethodSourceRange (
	ISymbolDocumentWriter startDoc,
	int startLine,
	int startColumn,
	ISymbolDocumentWriter endDoc,
	int endLine,
	int endColumn
)
void SetMethodSourceRange (
	ISymbolDocumentWriter startDoc, 
	int startLine, 
	int startColumn, 
	ISymbolDocumentWriter endDoc, 
	int endLine, 
	int endColumn
)
function SetMethodSourceRange (
	startDoc : ISymbolDocumentWriter, 
	startLine : int, 
	startColumn : int, 
	endDoc : ISymbolDocumentWriter, 
	endLine : int, 
	endColumn : int
)
Not applicable.

Parameters

startDoc

The document containing the starting position.

startLine

The starting line number.

startColumn

The starting column.

endDoc

The document containing the ending position.

endLine

The ending line number.

endColumn

The ending column number.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: