Freigeben über


LevelCollection-Klasse

Contains a read-only, on-demand collection of Level objects contained in a Hierarchy.

Vererbungshierarchie

System.Object
  Microsoft.AnalysisServices.AdomdClient.LevelCollection

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

Syntax

'Declaration
Public NotInheritable Class LevelCollection _
    Implements ICollection, IEnumerable
'Usage
Dim instance As LevelCollection
public sealed class LevelCollection : ICollection, 
    IEnumerable
public ref class LevelCollection sealed : ICollection, 
    IEnumerable
[<SealedAttribute>]
type LevelCollection =  
    class 
        interface ICollection 
        interface IEnumerable 
    end
public final class LevelCollection implements ICollection, IEnumerable

Der LevelCollection-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Count Gets the number of Level objects in the collection.
Öffentliche Eigenschaft IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread safe).
Öffentliche Eigenschaft Item[Int32] Gets the specified Level from the collection by its index. In C#, this property is the indexer for the LevelCollection class.
Öffentliche Eigenschaft Item[String] Gets the specified Level from the collection by its name. In C#, this property is the indexer for the LevelCollection class.
Öffentliche Eigenschaft SyncRoot Gets an object that can be used to synchronize access to the collection.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode CopyTo Copies the elements of the collection to the specified array.
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode Find Gets the specified Level from the collection by its name.
Öffentliche Methode GetEnumerator Gets an Enumerator for iterating through the collection.
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Explizite Schnittstellenimplementierungen

  Name Beschreibung
Explizite SchnittstellenimplementierungPrivate Methode ICollection.CopyTo Copies the elements of the LevelCollection to the specified array, starting at a particular array index.
Explizite SchnittstellenimplementierungPrivate Methode IEnumerable.GetEnumerator Gets an enumerator that iterates through the LevelCollection.

Zum Anfang

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.AdomdClient-Namespace