Item 属性 (ICollection)
Gets the specified Cell by an ICollection interface that contains a collection of absolute axis indexes. In Microsoft Visual C#, this property is the indexer for the CellCollection class.
命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)
语法
声明
Public ReadOnly Default Property Item ( _
indexes As ICollection _
) As Cell
Get
用法
Dim instance As CellSet
Dim indexes As ICollection
Dim value As Cell
value = instance(indexes)
public Cell this[
ICollection indexes
] { get; }
public:
property Cell^ default[ICollection^ indexes] {
Cell^ get (ICollection^ indexes);
}
member Item : Cell
JScript 支持使用索引属性,但不支持声明新索引属性。
参数
- indexes
类型:System.Collections. . :: . .ICollection
An ICollection that contains a number of elements less than or equal to the count of axes in the CellSet.
注释
The ICollection represents a tuple created by referencing a single point from each axis represented in the CellSet. The index of each element in the ICollection matches the index of each axis in the Axes collection of the CellSet, and the value of each element represents a zero-based index of rows for each axis.
If the ICollection contains more elements than the Axes collection, an exception is thrown.
For more information about the ICollection interface, see System.Collections..::..ICollection.