ICorDebugArrayValue 介面ICorDebugArrayValue Interface

ICorDebugHeapValue 的子類別,表示一維或多維度陣列。A subclass of ICorDebugHeapValue that represents a single-dimensional or multi-dimensional array.


方法Method 描述Description
GetBaseIndicies 方法GetBaseIndicies Method 取得陣列中每個維度的基底索引。Gets the base index of each dimension in the array.
GetCount 方法GetCount Method 取得陣列中的元素總數。Gets the total number of elements in the array.
GetDimensions 方法GetDimensions Method 取得陣列的維度。Gets the dimensions of the array.
GetElement 方法GetElement Method 取得值,這個值表示陣列中的指定元素。Gets a value representing the given element in the array.
GetElementAtPosition 方法GetElementAtPosition Method 取得指定位置的專案,將陣列視為以零為基礎的一維陣列。Gets the element at the given position, treating the array as a zero-based, single-dimensional array.
GetElementType 方法GetElementType Method 取得陣列中元素的簡單類型。Gets the simple type of the elements in the array.
GetRank 方法GetRank Method 取得陣列的維度數目。Gets the number of dimensions in the array.
HasBaseIndicies 方法HasBaseIndicies Method 判斷陣列是否有基底索引。Determines whether the array has base indexes.


ICorDebugArrayValue 支援單一維度和多維度陣列。ICorDebugArrayValue supports both single-dimensional and multi-dimensional arrays.


這個介面不支援跨電腦或跨處理序的遠端呼叫。This interface does not support being called remotely, either cross-machine or cross-process.


平台: 請參閱 系統需求Platforms: See System Requirements.

標頭: CorDebug.idl、CorDebug.hHeader: CorDebug.idl, CorDebug.h

程式庫: CorGuids.libLibrary: CorGuids.lib

.NET Framework 版本:自 1.0 起可用Available since 1.0.NET Framework Versions: 自 1.0 起可用Available since 1.0

另請參閱See also