Compartir a través de


CellSet.Item Propiedad (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.

Espacio de nombres:  Microsoft.AnalysisServices.AdomdClient
Ensamblado:  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxis

'Declaración
Public ReadOnly Default Property Item ( _
    indexes As ICollection _
) As Cell 
    Get
'Uso
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.

Parámetros

Valor de la propiedad

Tipo: Microsoft.AnalysisServices.AdomdClient.Cell
The Cell that is obtained using the specified collection of axis indexes.

Comentarios

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.

Vea también

Referencia

CellSet Clase

Sobrecarga de Item

Espacio de nombres Microsoft.AnalysisServices.AdomdClient