Condividi tramite


Classe LevelCollection

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

Gerarchia di ereditarietà

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdClient..::..LevelCollection

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class LevelCollection _
    Implements ICollection, IEnumerable
'Utilizzo
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

Nel tipo LevelCollection sono esposti i membri seguenti.

Proprietà

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

In alto

Metodi

  Nome Descrizione
Metodo pubblico CopyTo Copies the elements of the collection to the specified array.
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico Find Gets the specified Level from the collection by its name.
Metodo pubblico GetEnumerator Gets an Enumerator for iterating through the collection.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaMetodo privato ICollection. . :: . .CopyTo
Implementazione esplicita dell'interfacciaMetodo privato IEnumerable. . :: . .GetEnumerator

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.