Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ISymbolMethod.GetRanges Method

Gets an array of start and end offset pairs that correspond to the ranges of Microsoft intermediate language (MSIL) that a given position covers within this method.

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

int[] GetRanges (
	ISymbolDocument document,
	int line,
	int column
)
int[] GetRanges (
	ISymbolDocument document, 
	int line, 
	int column
)
function GetRanges (
	document : ISymbolDocument, 
	line : int, 
	column : int
) : int[]
Not applicable.

Parameters

document

The document for which the offset is requested.

line

The document line corresponding to the ranges.

column

The document column corresponding to the ranges.

Return Value

An array of start and end offset pairs.

The array is an array of integers in the format {{start1, end1}, {start2, end2}...}. The number of range pairs is the length of the array divided by 2.

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:
© 2014 Microsoft. All rights reserved.