Compartir a través de


CellCollection.Item Property (Int32, Int32)

Gets the specified Cell from the collection by its coordinate.

Espacio de nombres: Microsoft.AnalysisServices.AdomdClient
Ensamblado: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Sintaxis

'Declaración
Public ReadOnly Default Property Item ( _
    index1 As Integer, _
    index2 As Integer _
) As Cell
public Cell this [
    int index1,
    int index2
] { get; }
public:
property Cell^ default [int, int] {
    Cell^ get (int index1, int index2);
}
/** @property */
public Cell get_Item (int index1, int index2)

Parámetros

  • index1
    The zero-based index on the first axis of the Cell to find.
  • index2
    The zero-based index on the second axis of the Cell to find.

Excepciones

Tipo de excepción Condición
System.ArgumentException

The CellSet does not have exactly two axes.

System.ArgumentOutOfRangeException

Either index1 or index2 were less 0, or greater than the number of tuples in their respective axes.

Notas

This property is optimized for two-dimensional cellsets. Any attempt to use this with a cellset that contains more or less than two dimensions raises an exception.

[!NOTA] This property is optimized and can only be used with cellsets that contain exactly two axes.

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

CellCollection Class
CellCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace