次の方法で共有


CellPropertyCollection Class

Cell に含まれる CellProperty オブジェクトのコレクションを含みます。

名前空間: Microsoft.AnalysisServices.AdomdClient
アセンブリ: Microsoft.AnalysisServices.AdomdClient (microsoft.analysisservices.adomdclient.dll 内)

構文

'宣言
<DefaultMemberAttribute("Item")> _
Public NotInheritable Class CellPropertyCollection
    Implements ICollection, IEnumerable
[DefaultMemberAttribute("Item")] 
public sealed class CellPropertyCollection : ICollection, IEnumerable
[DefaultMemberAttribute(L"Item")] 
public ref class CellPropertyCollection sealed : ICollection, IEnumerable
/** @attribute DefaultMemberAttribute("Item") */ 
public final class CellPropertyCollection implements ICollection, IEnumerable
DefaultMemberAttribute("Item") 
public final class CellPropertyCollection implements ICollection, IEnumerable

解説

CellPropertyCollection は、Cell が作成されるときに設定されます。セル セット内の各セルには、CellPropertyCollection コレクションで管理される CellProperty オブジェクトで表される、0 個以上の固有またはカスタムのセル プロパティを関連付けることができます。

継承階層

System.Object
  Microsoft.AnalysisServices.AdomdClient.CellPropertyCollection

使用例

次のサブルーチンは、指定された CellCellPropertyCollection コレクションを繰り返し処理します。

Public Sub ListCellPropertyCollection(ByRef CellToCheck As Cell)
    'Assumes CellToCheck is not null.
    Dim cellProperty As CellProperty

    Debug.WriteLine("Found " & CellToCheck.CellProperties.Count & _
        " cell properties in cell:")

    For Each cellProperty In CellToCheck.CellProperties
        Debug.WriteLine("  Name:  " & cellProperty.Name)
        Debug.WriteLine(" Value:  " & cellProperty.Value)
    Next
End Sub

スレッド セーフ

この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

CellPropertyCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace