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 | |
---|---|---|
Count | Gets the number of Level objects in the collection. | |
IsSynchronized | Gets a value indicating whether access to the collection is synchronized (thread safe). | |
Item[Int32] | Gets the specified Level from the collection by its index. In C#, this property is the indexer for the LevelCollection class. | |
Item[String] | Gets the specified Level from the collection by its name. In C#, this property is the indexer for the LevelCollection class. | |
SyncRoot | Gets an object that can be used to synchronize access to the collection. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
CopyTo | Copies the elements of the collection to the specified array. | |
Equals | (Geerbt von Object.) | |
Find | Gets the specified Level from the collection by its name. | |
GetEnumerator | Gets an Enumerator for iterating through the collection. | |
GetHashCode | (Geerbt von Object.) | |
GetType | (Geerbt von Object.) | |
ToString | (Geerbt von Object.) |
Zum Anfang
Explizite Schnittstellenimplementierungen
Name | Beschreibung | |
---|---|---|
ICollection.CopyTo | Copies the elements of the LevelCollection to the specified array, starting at a particular array index. | |
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.