Classe CellPropertyCollection
Contains a collection of CellProperty objects contained by a Cell.
Espace de noms : Microsoft.AnalysisServices.AdomdClient
Assembly : Microsoft.AnalysisServices.AdomdClient (dans Microsoft.AnalysisServices.AdomdClient.dll)
Syntaxe
'Déclaration
Public NotInheritable Class CellPropertyCollection _
Implements ICollection, IEnumerable
'Utilisation
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
Notes
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.
Exemples
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
Hiérarchie d'héritage
System. . :: . .Object
Microsoft.AnalysisServices.AdomdClient..::..CellPropertyCollection
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.
Voir aussi