共用方式為


Item 屬性 (Int32)

Gets the specified Cell from the collection by its index. 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 ( _
    index As Integer _
) As Cell
    Get
'用途
Dim instance As CellCollection
Dim index As Integer
Dim value As Cell

value = instance(index)
public Cell this[
    int index
] { get; }
public:
property Cell^ default[int index] {
    Cell^ get (int index);
}
member Item : Cell
JScript 支援索引屬性的使用,但不支援新屬性的宣告。

參數

備註

Cells are stored in the CellCollection in a depth-first flattened structure, in which each axis is fully expressed in sequence.