ModelComponentCollection-Klasse

Contains a collection of ModelComponent objects.

Vererbungshierarchie

System.Object
  Microsoft.AnalysisServices.ModelComponentCollection
    Mehr…

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

Syntax

'Declaration
<GuidAttribute("74BB3312-550A-4f1f-BECF-80422AC163C6")> _
Public MustInherit Class ModelComponentCollection _
    Implements IModelComponentCollection, IList, ICollection, IEnumerable,  _
    IOnDemandLoadableCollection
'Usage
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

Der ModelComponentCollection-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Geschützte Methode ModelComponentCollection Initializes a new instance of the ModelComponentCollection class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Gets the number of ModelComponent objects in the ModelComponentCollection.
Geschützte Eigenschaft DemandLoadingService Infrastruktur Gets the demand loading service for the collection.
Öffentliche Eigenschaft IsFixedSize Gets a value indicating whether the ModelComponentCollection has a fixed size.
Öffentliche Eigenschaft IsReadOnly Gets a value indicating whether the ModelComponentCollection is read-only.
Öffentliche Eigenschaft IsSynchronized Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe).
Geschützte Eigenschaft Item Gets the IModelComponent at the specified index.
Geschützte Eigenschaft ItemsType Gets the Type of objects that can be contained by the ModelComponentCollection.
Öffentliche Eigenschaft Parent Gets the IModelComponent that contains the ModelComponentCollection.
Geschützte Eigenschaft Preloadable Infrastruktur Gets a value indicating whether the collection can be preloaded.
Öffentliche Eigenschaft SyncRoot Gets an object that can be used to synchronize access to the ModelComponentCollection.

Zum Anfang

Methoden

  Name Beschreibung
Geschützte Methode Add(ModelComponent) Infrastruktur Adds a ModelComponent object to the ModelComponentCollection.
Geschützte Methode Add(String, IModelComponent) Infrastruktur Adds a IModelComponent object to the ModelComponentCollection.
Geschützte Methode Add(ModelComponent, Boolean) Infrastruktur Adds a ModelComponent object to the ModelComponentCollection.
Geschützte Methode Add(String, IModelComponent, Boolean) Infrastruktur Adds a IModelComponent object to the ModelComponentCollection.
Geschützte Methode AddNew(String, Type) Infrastruktur Adds a new IModelComponent to the collection.
Geschützte Methode AddNew(String, String, Type) Infrastruktur Adds a new IModelComponent to the collection.
Öffentliche Methode CanAdd Infrastruktur Indicates whether the collection can add a ModelComponent.
Geschützte Methode ChangeKey Infrastruktur Changes the specified keys to the collection.
Öffentliche Methode Clear Removes all elements from the ModelComponentCollection.
Geschützte Methode Contains(String) Determines whether an item with the specified key is in the ModelComponentCollection.
Geschützte Methode Contains(IModelComponent) Determines whether the specified item is in the collection.
Öffentliche Methode CopyTo Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array.
Geschützte Methode EnsureLoaded Infrastruktur Ensures the collection is loaded.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetEnumerator Returns an enumerator that can iterate through the ModelComponentCollection.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Geschützte Methode GetItem Gets a reference to the specified component.
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode IndexOf(String) Returns the zero-based index of the first occurrence of an IModelComponent that has the specified key in the ModelComponentCollection.
Geschützte Methode IndexOf(IModelComponent) Searches for the specified item and returns its zero-based index within the collection.
Geschützte Methode Insert(Int32, ModelComponent) Infrastruktur Inserts an ModelComponent in the ModelComponentCollection.
Geschützte Methode Insert(IModelComponent, String, Int32) Infrastruktur Inserts an IModelComponent in the ModelComponentCollection.
Geschützte Methode Insert(IModelComponent, String, Int32, Boolean) Infrastruktur Inserts an IModelComponent in the ModelComponentCollection.
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode Remove Removes the specified IModelComponent from the collection.
Öffentliche Methode RemoveAt(Int32) Removes the IModelComponent at the specified index from the ModelComponentCollection.
Öffentliche Methode RemoveAt(Int32, Boolean) Infrastruktur Removes the IModelComponent at the specified index from the ModelComponentCollection.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Ereignisse

  Name Beschreibung
Öffentliches Ereignis CollectionChanged Infrastruktur Occurs when the collection changes.
Öffentliches Ereignis CollectionChanging Infrastruktur Occurs when the collection is changing.

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode IList.Add Adds an item to the collection.
Explizite SchnittstellenimplementierungPrivate Methode IList.Clear Removes all items from the collection.
Explizite SchnittstellenimplementierungPrivate Methode IList.Contains Indicates whether the collection contains a specific value.
Explizite SchnittstellenimplementierungPrivate Methode IList.IndexOf Determines the index of a specific item in the collection.
Explizite SchnittstellenimplementierungPrivate Methode IList.Insert Inserts an item to the collection at the specified index.
Explizite SchnittstellenimplementierungPrivate Eigenschaft IList.Item Gets or sets the element at the specified index.
Explizite SchnittstellenimplementierungPrivate Methode IList.Remove Removes the first occurrence of a specified object from the collection.
Explizite SchnittstellenimplementierungPrivate Methode IList.RemoveAt Removes the item at the specified index.
Explizite SchnittstellenimplementierungPrivate Methode IModelComponentCollection.Contains Indicates whether the collection contains a specific value.
Explizite SchnittstellenimplementierungPrivate Methode IModelComponentCollection.Remove(IModelComponent) Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection.
Explizite SchnittstellenimplementierungPrivate Methode IModelComponentCollection.Remove(IModelComponent, Boolean) Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection.
Explizite SchnittstellenimplementierungPrivate Methode IOnDemandLoadableCollection.BlockOnDemandLoad Specifies the blocked demand load.
Explizite SchnittstellenimplementierungPrivate Eigenschaft IOnDemandLoadableCollection.Loaded Gets or sets a value that indicates whether the collection is loaded.

Zum Anfang

Hinweise

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

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.AnalysisServices-Namespace

Vererbungshierarchie

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.RelationshipCollection
    Microsoft.AnalysisServices.RelationshipEndAttributeCollection
    Microsoft.AnalysisServices.TranslationCollection