다음을 통해 공유


CellPropertyCollection Class

Contains a collection of CellProperty objects contained by a Cell.

네임스페이스: Microsoft.AnalysisServices.AdomdClient
어셈블리: Microsoft.AnalysisServices.AdomdClient (in 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

주의

The CellPropertyCollection is populated when a Cell is created. Each cell in a cellset can have zero or more intrinsic or custom cell properties associated with it, represented by CellProperty objects maintained by the CellPropertyCollection collection.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdClient.CellPropertyCollection

The following subroutine iterates through the CellPropertyCollection collection of a specified Cell.

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

스레드 보안

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.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

CellPropertyCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace