共用方式為


CellSet 類別

Represents a cellset that is returned as a result of a query.

繼承階層

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdClient..::..CellSet

命名空間:  Microsoft.AnalysisServices.AdomdClient
組件:  Microsoft.AnalysisServices.AdomdClient (在 Microsoft.AnalysisServices.AdomdClient.dll 中)

語法

'宣告
Public NotInheritable Class CellSet
'用途
Dim instance As CellSet
public sealed class CellSet
public ref class CellSet sealed
[<SealedAttribute>]
type CellSet =  class end
public final class CellSet

CellSet 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Axes Gets an instance of the AxisCollection class that contains the axes of the CellSet.
公用屬性 Cells Gets an instance of the CellCollection class that contains the cells of the CellSet.
公用屬性 FilterAxis Gets an instance of an Axis class that represents the filter axis of the CellSet.
公用屬性 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.
公用屬性 Item[ ( [ ( Int32] ) ] ) Gets an instance of a Cell by its index. In Microsoft Visual C#, this property is the indexer for the CellSet class.
公用屬性 Item[ ( [ ( array<Int32> [] () [] []] ) ] ) Gets the specified Cell from the collection by an array of absolute axis indexes.
公用屬性 Item[ ( [ ( Int32, Int32] ) ] ) Gets the specified Cell from the collection.
公用屬性 OlapInfo Gets an instance of an OlapInfo class describing the CellSet.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法靜態成員 LoadXml Returns a CellSet created from a server response, passed in as an XmlReader.
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

備註

In ADOMD.NET, the CellSet encapsulates a multidimensional result set that is the result of running a command. A multidimensional result set contains a discrete collection of data points, or cells, that are organized along multiple dimensions, or axes.

A CellSet is created when the Execute or ExecuteCellSet method of the AdomdCommand is called to run a command.

範例

The following subroutine, given a CellSet, examines and displays information about the object:

Public Sub ListCellSetInfo(ByRef CellSetToCheck As CellSet)
    If CellSetToCheck Is Nothing Then
        Throw New System.ArgumentNullException("CellSetToCheck")
    Else
        Console.WriteLine("The cellset has {0} cells " & _
            "organized along {1} axes.", _
            CellSetToCheck.Cells.Count, _
            CellSetToCheck.Axes.Count)
    End If
End Sub

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。