Contains a collection of CellProperty objects contained by a Cell.
상속 계층
System.Object
Microsoft.AnalysisServices.AdomdClient.CellPropertyCollection
네임스페이스: Microsoft.AnalysisServices.AdomdClient
어셈블리: Microsoft.AnalysisServices.AdomdClient(Microsoft.AnalysisServices.AdomdClient.dll)
구문
‘선언
Public NotInheritable Class CellPropertyCollection _
Implements ICollection, IEnumerable
‘사용 방법
Dim instance As CellPropertyCollection
public sealed class CellPropertyCollection : ICollection,
IEnumerable
public ref class CellPropertyCollection sealed : ICollection,
IEnumerable
[<SealedAttribute>]
type CellPropertyCollection =
class
interface ICollection
interface IEnumerable
end
public final class CellPropertyCollection implements ICollection, IEnumerable
CellPropertyCollection 유형에서 다음 멤버를 표시합니다.
속성
| 이름 | 설명 | |
|---|---|---|
![]() |
Count | Gets the number of CellProperty objects in the collection. |
![]() |
IsSynchronized | Gets a value indicating whether access to the collection is synchronized (thread safe). |
![]() |
Item[Int32] | Gets the specified CellProperty from the collection by its index. In Microsoft Visual C#, this property is the indexer for the CellPropertyCollection class. |
![]() |
Item[String] | Gets the specified CellProperty from the collection by its name. In Microsoft Visual C#, this property is the indexer for the CellPropertyCollection class. |
![]() |
SyncRoot | Gets an Object that can be used to synchronize access to the collection. |
맨 위로 이동
메서드
| 이름 | 설명 | |
|---|---|---|
![]() |
CopyTo | Copies the elements of the collection to the specified array. |
![]() |
Equals | (Object에서 상속됨) |
![]() |
Find | Gets the specified CellProperty from the collection by its name. |
![]() |
GetEnumerator | Gets an enumerator for iterating through the collection. |
![]() |
GetHashCode | (Object에서 상속됨) |
![]() |
GetType | (Object에서 상속됨) |
![]() |
ToString | (Object에서 상속됨) |
맨 위로 이동
명시적 인터페이스 구현
| 이름 | 설명 | |
|---|---|---|
![]() ![]() |
ICollection.CopyTo | Copies the elements of the CellPropertyCollection to an array, starting at a particular array index. |
![]() ![]() |
IEnumerable.GetEnumerator | Gets an enumerator for iterating through the collection. |
맨 위로 이동
주의
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.
예
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
스레드 보안
이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.
.gif)
.gif)
.gif)
.gif)