Partager via


Classe NamedComponentCollection

Contains a collection of INamedComponent objects.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.AnalysisServices. . :: . .ModelComponentCollection
    Microsoft.AnalysisServices..::..NamedComponentCollection
      Plus...

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
<GuidAttribute("4CF930A2-FED5-48c0-AC50-DD4FBDA3E6A8")> _
Public MustInherit Class NamedComponentCollection _
    Inherits ModelComponentCollection _
    Implements INamedComponentCollection, IModelComponentCollection, ICollection, IEnumerable
'Utilisation
Dim instance As NamedComponentCollection
[GuidAttribute("4CF930A2-FED5-48c0-AC50-DD4FBDA3E6A8")]
public abstract class NamedComponentCollection : ModelComponentCollection, 
    INamedComponentCollection, IModelComponentCollection, ICollection, IEnumerable
[GuidAttribute(L"4CF930A2-FED5-48c0-AC50-DD4FBDA3E6A8")]
public ref class NamedComponentCollection abstract : public ModelComponentCollection, 
    INamedComponentCollection, IModelComponentCollection, ICollection, IEnumerable
[<AbstractClassAttribute>]
[<GuidAttribute("4CF930A2-FED5-48c0-AC50-DD4FBDA3E6A8")>]
type NamedComponentCollection =  
    class
        inherit ModelComponentCollection
        interface INamedComponentCollection
        interface IModelComponentCollection
        interface ICollection
        interface IEnumerable
    end
public abstract class NamedComponentCollection extends ModelComponentCollection implements INamedComponentCollection, IModelComponentCollection, ICollection, IEnumerable

Le type NamedComponentCollection expose les membres suivants.

Constructeurs

  Nom Description
Méthode protégée NamedComponentCollection Infrastructure.

Haut de la page

Propriétés

  Nom Description
Propriété publique Count Gets the number of ModelComponent objects in the ModelComponentCollection. (hérité de ModelComponentCollection.)
Propriété protégée DemandLoadingService Infrastructure. (hérité de ModelComponentCollection.)
Propriété publique IsFixedSize Gets a value indicating whether the ModelComponentCollection has a fixed size. (hérité de ModelComponentCollection.)
Propriété publique IsReadOnly Gets a value indicating whether the ModelComponentCollection is read-only. (hérité de ModelComponentCollection.)
Propriété publique IsSynchronized Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (hérité de ModelComponentCollection.)
Propriété protégée Item Gets the IModelComponent at the specified index. (hérité de ModelComponentCollection.)
Propriété protégée ItemsType Gets the Type of objects that can be contained by the ModelComponentCollection. (hérité de ModelComponentCollection.)
Propriété publique Parent Gets the IModelComponent that contains the ModelComponentCollection. (hérité de ModelComponentCollection.)
Propriété protégée Preloadable Infrastructure. (hérité de ModelComponentCollection.)
Propriété publique SyncRoot Gets an object that can be used to synchronize access to the ModelComponentCollection. (hérité de ModelComponentCollection.)

Haut de la page

Méthodes

  Nom Description
Méthode protégée Add(ModelComponent) Infrastructure. (remplace ModelComponentCollection. . :: . .Add(ModelComponent).)
Méthode protégée Add(String, IModelComponent) (hérité de ModelComponentCollection.)
Méthode protégée Add(ModelComponent, Boolean) Infrastructure. (hérité de ModelComponentCollection.)
Méthode protégée Add(String, IModelComponent, Boolean) (hérité de ModelComponentCollection.)
Méthode protégée AddNew(String, Type) Infrastructure. (hérité de ModelComponentCollection.)
Méthode protégée AddNew(String, String, Type) Infrastructure. (hérité de ModelComponentCollection.)
Méthode publique CanAdd Infrastructure. (remplace ModelComponentCollection. . :: . .CanAdd(ModelComponent, String%).)
Méthode protégée ChangeKey Infrastructure. (hérité de ModelComponentCollection.)
Méthode publique Clear Removes all elements from the ModelComponentCollection. (hérité de ModelComponentCollection.)
Méthode publique Contains(String)
Méthode protégée Contains(IModelComponent) (hérité de ModelComponentCollection.)
Méthode publique ContainsName
Méthode publique CopyTo Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (hérité de ModelComponentCollection.)
Méthode protégée EnsureLoaded Infrastructure. (hérité de ModelComponentCollection.)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetEnumerator Returns an enumerator that can iterate through the ModelComponentCollection. (hérité de ModelComponentCollection.)
Méthode publique GetHashCode (hérité de Object.)
Méthode protégée GetItem Gets a reference to the specified component. (hérité de ModelComponentCollection.)
Méthode publique GetNewID() () () ()
Méthode publique GetNewID(String)
Méthode publique GetNewName() () () ()
Méthode publique GetNewName(String)
Méthode publique GetType (hérité de Object.)
Méthode publique IndexOf(String)
Méthode protégée IndexOf(IModelComponent) (hérité de ModelComponentCollection.)
Méthode publique IndexOfName
Méthode protégée Insert(Int32, ModelComponent) (remplace ModelComponentCollection. . :: . .Insert(Int32, ModelComponent).)
Méthode protégée Insert(IModelComponent, String, Int32) (hérité de ModelComponentCollection.)
Méthode protégée Insert(IModelComponent, String, Int32, Boolean) (hérité de ModelComponentCollection.)
Méthode publique IsValidID(String)
Méthode publique IsValidID(String, String%)
Méthode protégée IsValidID(String, Type, String%)
Méthode publique IsValidName(String)
Méthode publique IsValidName(String, String%)
Méthode protégée IsValidName(String, Type, String%)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode protégée Remove (hérité de ModelComponentCollection.)
Méthode publique RemoveAt(Int32) Removes the IModelComponent at the specified index from the ModelComponentCollection. (hérité de ModelComponentCollection.)
Méthode publique RemoveAt(Int32, Boolean) Infrastructure. (hérité de ModelComponentCollection.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Événements

  Nom Description
Événement public CollectionChanged Infrastructure. (hérité de ModelComponentCollection.)
Événement public CollectionChanging Infrastructure. (hérité de ModelComponentCollection.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée IList. . :: . .Add (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IList. . :: . .Clear (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IList. . :: . .Contains (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IList. . :: . .IndexOf (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IList. . :: . .Insert (hérité de ModelComponentCollection.)
Implémentation d'interface explicitePropriété privée IList. . :: . .Item (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IList. . :: . .Remove (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IList. . :: . .RemoveAt (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IModelComponentCollection. . :: . .Contains (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IModelComponentCollection. . :: . .Remove(IModelComponent) (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IModelComponentCollection. . :: . .Remove(IModelComponent, Boolean) (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IOnDemandLoadableCollection. . :: . .BlockOnDemandLoad (hérité de ModelComponentCollection.)
Implémentation d'interface explicitePropriété privée IOnDemandLoadableCollection. . :: . .Loaded (hérité de ModelComponentCollection.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.AnalysisServices. . :: . .ModelComponentCollection
    Microsoft.AnalysisServices..::..NamedComponentCollection
      Microsoft.AnalysisServices. . :: . .ActionCollection
      Microsoft.AnalysisServices. . :: . .AggregationCollection
      Microsoft.AnalysisServices. . :: . .AggregationInstanceCollection
      Microsoft.AnalysisServices. . :: . .CubeDimensionCollection
      Microsoft.AnalysisServices. . :: . .DimensionAttributeCollection
      Microsoft.AnalysisServices. . :: . .HierarchyCollection
      Microsoft.AnalysisServices. . :: . .KpiCollection
      Microsoft.AnalysisServices. . :: . .LevelCollection
      Microsoft.AnalysisServices. . :: . .MajorObjectCollection
      Microsoft.AnalysisServices. . :: . .MeasureCollection
      Microsoft.AnalysisServices. . :: . .MiningModelColumnCollection
      Microsoft.AnalysisServices. . :: . .MiningStructureColumnCollection