Partilhar via


Classe ModelComponentCollection

Contains a collection of ModelComponent objects.

Hierarquia de herança

System. . :: . .Object
  Microsoft.AnalysisServices..::..ModelComponentCollection
    Mais...

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
<GuidAttribute("74BB3312-550A-4f1f-BECF-80422AC163C6")> _
Public MustInherit Class ModelComponentCollection _
    Implements IModelComponentCollection, IList, ICollection, IEnumerable,  _
    IOnDemandLoadableCollection
'Uso
Dim instance As ModelComponentCollection
[GuidAttribute("74BB3312-550A-4f1f-BECF-80422AC163C6")]
public abstract class ModelComponentCollection : IModelComponentCollection, 
    IList, ICollection, IEnumerable, IOnDemandLoadableCollection
[GuidAttribute(L"74BB3312-550A-4f1f-BECF-80422AC163C6")]
public ref class ModelComponentCollection abstract : IModelComponentCollection, 
    IList, ICollection, IEnumerable, IOnDemandLoadableCollection
[<AbstractClassAttribute>]
[<GuidAttribute("74BB3312-550A-4f1f-BECF-80422AC163C6")>]
type ModelComponentCollection =  
    class
        interface IModelComponentCollection
        interface IList
        interface ICollection
        interface IEnumerable
        interface IOnDemandLoadableCollection
    end
public abstract class ModelComponentCollection implements IModelComponentCollection, IList, ICollection, IEnumerable, IOnDemandLoadableCollection

O tipo ModelComponentCollection expõe os membros a seguir.

Construtores

  Nome Descrição
Método protegido ModelComponentCollection

Início

Propriedades

  Nome Descrição
Propriedade pública Count Gets the number of ModelComponent objects in the ModelComponentCollection.
Propriedade protegida DemandLoadingService Infraestrutura.
Propriedade pública IsFixedSize Gets a value indicating whether the ModelComponentCollection has a fixed size.
Propriedade pública IsReadOnly Gets a value indicating whether the ModelComponentCollection is read-only.
Propriedade pública IsSynchronized Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe).
Propriedade protegida Item Gets the IModelComponent at the specified index.
Propriedade protegida ItemsType Gets the Type of objects that can be contained by the ModelComponentCollection.
Propriedade pública Parent Gets the IModelComponent that contains the ModelComponentCollection.
Propriedade protegida Preloadable Infraestrutura.
Propriedade pública SyncRoot Gets an object that can be used to synchronize access to the ModelComponentCollection.

Início

Métodos

  Nome Descrição
Método protegido Add(ModelComponent) Infraestrutura.
Método protegido Add(String, IModelComponent)
Método protegido Add(ModelComponent, Boolean) Infraestrutura.
Método protegido Add(String, IModelComponent, Boolean)
Método protegido AddNew(String, Type) Infraestrutura.
Método protegido AddNew(String, String, Type) Infraestrutura.
Método público CanAdd Infraestrutura.
Método protegido ChangeKey Infraestrutura.
Método público Clear Removes all elements from the ModelComponentCollection.
Método protegido Contains(String) Determines whether an item with the specified key is in the ModelComponentCollection.
Método protegido Contains(IModelComponent)
Método público CopyTo Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array.
Método protegido EnsureLoaded Infraestrutura.
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetEnumerator Returns an enumerator that can iterate through the ModelComponentCollection.
Método público GetHashCode (Herdado de Object.)
Método protegido GetItem Gets a reference to the specified component.
Método público GetType (Herdado de Object.)
Método protegido IndexOf(String) Returns the zero-based index of the first occurrence of an IModelComponent that has the specified key in the ModelComponentCollection.
Método protegido IndexOf(IModelComponent)
Método protegido Insert(Int32, ModelComponent) Infraestrutura.
Método protegido Insert(IModelComponent, String, Int32)
Método protegido Insert(IModelComponent, String, Int32, Boolean)
Método protegido MemberwiseClone (Herdado de Object.)
Método protegido Remove
Método público RemoveAt(Int32) Removes the IModelComponent at the specified index from the ModelComponentCollection.
Método público RemoveAt(Int32, Boolean) Infraestrutura.
Método público ToString (Herdado de Object.)

Início

Eventos

  Nome Descrição
Evento público CollectionChanged Infraestrutura.
Evento público CollectionChanging Infraestrutura.

Início

Comentários

The ModelComponentCollection abstract class is inherited by other collection classes in Analysis Management Objects (AMO).

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Hierarquia de herança

System. . :: . .Object
  Microsoft.AnalysisServices..::..ModelComponentCollection
    Microsoft.AnalysisServices. . :: . .AccountCollection
    Microsoft.AnalysisServices. . :: . .AggregationAttributeCollection
    Microsoft.AnalysisServices. . :: . .AggregationDesignAttributeCollection
    Microsoft.AnalysisServices. . :: . .AggregationDesignDimensionCollection
    Microsoft.AnalysisServices. . :: . .AggregationDimensionCollection
    Microsoft.AnalysisServices. . :: . .AggregationInstanceAttributeCollection
    Microsoft.AnalysisServices. . :: . .AggregationInstanceDimensionCollection
    Microsoft.AnalysisServices. . :: . .AggregationInstanceMeasureCollection
    Microsoft.AnalysisServices. . :: . .AttributePermissionCollection
    Microsoft.AnalysisServices. . :: . .AttributeRelationshipCollection
    Microsoft.AnalysisServices. . :: . .CalculationPropertyCollection
    Microsoft.AnalysisServices. . :: . .CellPermissionCollection
    Microsoft.AnalysisServices. . :: . .CubeAttributeCollection
    Microsoft.AnalysisServices. . :: . .CubeDimensionPermissionCollection
    Microsoft.AnalysisServices. . :: . .CubeHierarchyCollection
    Microsoft.AnalysisServices. . :: . .MeasureGroupAttributeCollection
    Microsoft.AnalysisServices. . :: . .MeasureGroupDimensionCollection
    Microsoft.AnalysisServices. . :: . .NamedComponentCollection
    Microsoft.AnalysisServices. . :: . .PerspectiveActionCollection
    Microsoft.AnalysisServices. . :: . .PerspectiveAttributeCollection
    Microsoft.AnalysisServices. . :: . .PerspectiveCalculationCollection
    Microsoft.AnalysisServices. . :: . .PerspectiveDimensionCollection
    Microsoft.AnalysisServices. . :: . .PerspectiveHierarchyCollection
    Microsoft.AnalysisServices. . :: . .PerspectiveKpiCollection
    Microsoft.AnalysisServices. . :: . .PerspectiveMeasureCollection
    Microsoft.AnalysisServices. . :: . .PerspectiveMeasureGroupCollection
    Microsoft.AnalysisServices. . :: . .TranslationCollection