Export (0) Print
Expand All

LevelCollection Class

Contains a collection of Level objects.

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

[GuidAttribute("4F938311-F1F4-40f6-B577-EF25C5581E71")]
public sealed class LevelCollection : NamedComponentCollection

The LevelCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of ModelComponent objects in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected propertyDemandLoadingServiceInfrastructure. (Inherited from ModelComponentCollection.)
Public propertyIsFixedSizeGets a value indicating whether the ModelComponentCollection has a fixed size. (Inherited from ModelComponentCollection.)
Public propertyIsReadOnlyGets a value indicating whether the ModelComponentCollection is read-only. (Inherited from ModelComponentCollection.)
Public propertyIsSynchronizedGets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (Inherited from ModelComponentCollection.)
Public propertyItem[Int32]Gets the Level at the specified index from the collection.
Public propertyItem[String]Gets the Level with the specified identifier from the collection.
Protected propertyItemsTypeGets the Type of objects that can be contained by the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public propertyParentGets the IModelComponent that contains the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected propertyPreloadableInfrastructure. (Inherited from ModelComponentCollection.)
Public propertySyncRootGets an object that can be used to synchronize access to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Top

  NameDescription
Public methodAdd()Creates and adds a Level to the end of the collection.
Public methodAdd(String)Creates and adds a Level with the specified identifier to the end of the collection.
Public methodAdd(Level)Adds a Level to the end of the collection.
Protected methodAdd(ModelComponent)Infrastructure. (Inherited from NamedComponentCollection.)
Public methodAdd(String, String)Creates and adds a Level, with the specified name and identifier, to the end of the collection.
Protected methodAdd(String, IModelComponent) (Inherited from ModelComponentCollection.)
Protected methodAdd(ModelComponent, Boolean)Infrastructure. (Inherited from ModelComponentCollection.)
Protected methodAdd(String, IModelComponent, Boolean) (Inherited from ModelComponentCollection.)
Protected methodAddNew(String, Type)Infrastructure. (Inherited from ModelComponentCollection.)
Protected methodAddNew(String, String, Type)Infrastructure. (Inherited from ModelComponentCollection.)
Public methodCanAddInfrastructure. (Inherited from NamedComponentCollection.)
Protected methodChangeKeyInfrastructure. (Inherited from ModelComponentCollection.)
Public methodClearRemoves all elements from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodContains(String)Indicates whether the collection contains a Level, with the specified identifier.
Protected methodContains(IModelComponent) (Inherited from ModelComponentCollection.)
Public methodContains(Level)Indicates whether the collection contains a specified Level.
Public methodContainsName (Inherited from NamedComponentCollection.)
Public methodCopyToCopies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Inherited from ModelComponentCollection.)
Protected methodEnsureLoadedInfrastructure. (Inherited from ModelComponentCollection.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFindGets the Level with the specified identifier from the collection.
Public methodFindByNameGets the Level, with the specified name, from the collection.
Public methodGetByNameGets the Level, with the specified name, from the collection.
Public methodGetEnumeratorReturns an enumerator that can iterate through the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetItemGets a reference to the specified component. (Inherited from ModelComponentCollection.)
Public methodGetNewID() (Inherited from NamedComponentCollection.)
Public methodGetNewID(String) (Inherited from NamedComponentCollection.)
Public methodGetNewName() (Inherited from NamedComponentCollection.)
Public methodGetNewName(String) (Inherited from NamedComponentCollection.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf(String)Gets the index of a Level with the specified identifier.
Protected methodIndexOf(IModelComponent) (Inherited from ModelComponentCollection.)
Public methodIndexOf(Level)Gets the index of a specified Level.
Public methodIndexOfName (Inherited from NamedComponentCollection.)
Public methodInsert(Int32)Creates and inserts a Level into the collection at the specified index.
Public methodInsert(Int32, Level)Inserts a Level into the collection at the specified index.
Public methodInsert(Int32, String)Creates and inserts a Level with the specified name into the collection at the specified index.
Protected methodInsert(Int32, ModelComponent) (Inherited from NamedComponentCollection.)
Public methodInsert(Int32, String, String)Creates and inserts a Level, with the specified name and identifier, into the collection at the specified index.
Protected methodInsert(IModelComponent, String, Int32) (Inherited from ModelComponentCollection.)
Protected methodInsert(IModelComponent, String, Int32, Boolean) (Inherited from ModelComponentCollection.)
Public methodIsValidID(String) (Inherited from NamedComponentCollection.)
Public methodIsValidID(String, String) (Inherited from NamedComponentCollection.)
Protected methodIsValidID(String, Type, String) (Inherited from NamedComponentCollection.)
Public methodIsValidName(String) (Inherited from NamedComponentCollection.)
Public methodIsValidName(String, String) (Inherited from NamedComponentCollection.)
Protected methodIsValidName(String, Type, String) (Inherited from NamedComponentCollection.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodMove(Int32, Int32)Moves a Level at the current specified index to a new specified index in the collection.
Public methodMove(String, Int32)Moves a Level with the specified identifier to the specified index in the collection.
Public methodMove(Level, Int32)Moves a Level to a new index in the collection.
Public methodRemove(String)Removes the Level with the specified identifier from the collection.
Protected methodRemove(IModelComponent) (Inherited from ModelComponentCollection.)
Public methodRemove(Level)Removes the specified Level from the collection.
Public methodRemove(String, Boolean)Infrastructure.
Public methodRemove(Level, Boolean)Infrastructure.
Public methodRemoveAt(Int32)Removes the IModelComponent at the specified index from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodRemoveAt(Int32, Boolean)Infrastructure. (Inherited from ModelComponentCollection.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public eventCollectionChangedInfrastructure. (Inherited from ModelComponentCollection.)
Public eventCollectionChangingInfrastructure. (Inherited from ModelComponentCollection.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2015 Microsoft