Поделиться через


CellSet.Item Property (Int32, Int32)

Gets the specified Cell from the collection.

Пространство имен: Microsoft.AnalysisServices.AdomdClient
Сборка: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Синтаксис

'Декларация
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)

Параметры

  • 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.

Исключения

Тип исключения Условие
System.ArgumentException

The CellSet does not have exactly two axes.

System.ArgumentOutOfRangeException

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

Замечания

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.

ms133639.note(ru-ru,SQL.90).gifПримечание.
This property is optimized and can only be used with cellsets that contain exactly two axes.

Синхронизация потоков

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.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

CellSet Class
CellSet Members
Microsoft.AnalysisServices.AdomdClient Namespace