Share via


ISymbolMethod.GetRanges(ISymbolDocument, Int32, Int32) Méthode

Définition

Obtient un tableau de paires d'offsets de début et de fin correspondant aux plages d'offsets MSIL (Microsoft Intermediate Language) couvertes par une position donnée dans cette méthode.

public:
 cli::array <int> ^ GetRanges(System::Diagnostics::SymbolStore::ISymbolDocument ^ document, int line, int column);
public int[] GetRanges (System.Diagnostics.SymbolStore.ISymbolDocument document, int line, int column);
abstract member GetRanges : System.Diagnostics.SymbolStore.ISymbolDocument * int * int -> int[]
Public Function GetRanges (document As ISymbolDocument, line As Integer, column As Integer) As Integer()

Paramètres

document
ISymbolDocument

Document pour lequel l'offset est demandé.

line
Int32

Ligne du document correspondant aux plages.

column
Int32

Colonne du document correspondant aux plages.

Retours

Int32[]

Tableau de paires d'offsets de début et de fin.

Remarques

Le tableau est un tableau d’entiers au format {{start1, end1}, {start2, end2}...}. Le nombre de paires de plages correspond à la longueur du tableau divisée par 2.

S’applique à