SymMethod.GetRanges(ISymbolDocument, Int32, Int32) 方法

定義

取得起始和結束位移組的陣列,其對應至這個方法內指定位置所涵蓋的 Microsoft 中繼語言 (MSIL) 位移範圍。

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

參數

document
ISymbolDocument

要求 IL 位移範圍的文件。

line
Int32

要求 IL 位移範圍的文件行。

column
Int32

要求 IL 位移範圍的文件資料行。

傳回

Int32[]

起始和結束 IL 位移組的陣列。

實作

備註

陣組是整數陣列,格式為 {{start1, end1}, {start2, end2}...},其中每個配對都代表 方法內的 IL 位移範圍。 範圍數目是陣列的長度除以2。

適用於