Compartilhar via


Classe DimensionCollection

Contains a collection of Dimension objects. This class cannot be inherited.

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

Sintaxe

'Declaração
<GuidAttribute("A99E1687-D325-4308-9347-38415CC5E043")> _
Public NotInheritable Class DimensionCollection _
    Inherits MajorObjectCollection
'Uso
Dim instance As DimensionCollection
[GuidAttribute("A99E1687-D325-4308-9347-38415CC5E043")]
public sealed class DimensionCollection : MajorObjectCollection
[GuidAttribute(L"A99E1687-D325-4308-9347-38415CC5E043")]
public ref class DimensionCollection sealed : public MajorObjectCollection
[<SealedAttribute>]
[<GuidAttribute("A99E1687-D325-4308-9347-38415CC5E043")>]
type DimensionCollection =  
    class
        inherit MajorObjectCollection
    end
public final class DimensionCollection extends MajorObjectCollection

O tipo DimensionCollection expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Count Gets the number of ModelComponent objects in the ModelComponentCollection. (Herdado de ModelComponentCollection.)
Propriedade protegida DemandLoadingService Infraestrutura. (Herdado de ModelComponentCollection.)
Propriedade pública IsFixedSize Gets a value indicating whether the ModelComponentCollection has a fixed size. (Herdado de ModelComponentCollection.)
Propriedade pública IsReadOnly Gets a value indicating whether the ModelComponentCollection is read-only. (Herdado de ModelComponentCollection.)
Propriedade pública IsSynchronized Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (Herdado de ModelComponentCollection.)
Propriedade pública Item[ ( [ ( Int32] ) ] ) Gets the Dimension at the specified index from the collection.
Propriedade pública Item[ ( [ ( String] ) ] ) Gets the Dimension with the specified identifier from the collection.
Propriedade protegida ItemsType Gets the Type of objects that can be contained by the ModelComponentCollection. (Herdado de ModelComponentCollection.)
Propriedade pública Parent Gets the IModelComponent that contains the ModelComponentCollection. (Herdado de ModelComponentCollection.)
Propriedade protegida Preloadable Infraestrutura. (Herdado de ModelComponentCollection.)
Propriedade pública SyncRoot Gets an object that can be used to synchronize access to the ModelComponentCollection. (Herdado de ModelComponentCollection.)

Início

Métodos

  Nome Descrição
Método público Add() () () () Creates and adds a Dimension to the end of the collection.
Método público Add(String) Creates and adds a Dimension with the specified identifier to the end of the collection.
Método público Add(Dimension) Adds a Dimension to the end of the collection.
Método protegido Add(ModelComponent) Adds a ModelComponent to the end of the MajorObjectCollection. (Herdado de MajorObjectCollection.)
Método público Add(String, String) Creates and adds a Dimension, with the specified name and identifier, to the end of the collection.
Método protegido Add(String, IModelComponent) (Herdado de ModelComponentCollection.)
Método protegido Add(ModelComponent, Boolean) Infraestrutura. (Herdado de ModelComponentCollection.)
Método protegido Add(String, IModelComponent, Boolean) (Herdado de ModelComponentCollection.)
Método público AddNew(String) Creates and adds a Dimension, with the specified key, to the end of the collection.
Método público AddNew(String, String) Creates and adds a Dimension, with the specified name and key, to the end of the collection.
Método protegido AddNew(String, Type) Infraestrutura. (Herdado de ModelComponentCollection.)
Método protegido AddNew(String, String, Type) Infraestrutura. (Herdado de ModelComponentCollection.)
Método público CanAdd Infraestrutura. (Herdado de NamedComponentCollection.)
Método protegido ChangeKey Infraestrutura. (Herdado de ModelComponentCollection.)
Método público Clear Removes all elements from the ModelComponentCollection. (Herdado de ModelComponentCollection.)
Método público Contains(String) Indicates whether the collection contains a Dimension with the specified identifier.
Método público Contains(Dimension) Indicates whether the collection contains a specified Dimension.
Método protegido Contains(IModelComponent) (Herdado de ModelComponentCollection.)
Método público ContainsName (Herdado de NamedComponentCollection.)
Método público CopyTo Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Herdado de ModelComponentCollection.)
Método protegido EnsureLoaded Infraestrutura. (Herdado de ModelComponentCollection.)
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público Find Gets the Dimension with the specified identifier from the collection.
Método público FindByName Gets the Dimension, with the specified name, from the collection.
Método público GetByName Gets the Dimension, with the specified name, from the collection.
Método público GetEnumerator Returns an enumerator that can iterate through the ModelComponentCollection. (Herdado de ModelComponentCollection.)
Método público GetHashCode (Herdado de Object.)
Método protegido GetItem Gets a reference to the specified component. (Herdado de ModelComponentCollection.)
Método público GetNewID() () () () (Herdado de NamedComponentCollection.)
Método público GetNewID(String) (Herdado de NamedComponentCollection.)
Método público GetNewName() () () () (Herdado de NamedComponentCollection.)
Método público GetNewName(String) (Herdado de NamedComponentCollection.)
Método público GetType (Herdado de Object.)
Método público IndexOf(String) Gets the index of a Dimension with the specified identifier.
Método público IndexOf(Dimension) Gets the index of a specified Dimension.
Método protegido IndexOf(IModelComponent) (Herdado de ModelComponentCollection.)
Método público IndexOfName (Herdado de NamedComponentCollection.)
Método público Insert(Int32) Creates and inserts a Dimension into the collection at the specified index.
Método público Insert(Int32, Dimension) Inserts a Dimension into the collection at the specified index.
Método público Insert(Int32, String) Creates and inserts a Dimension with the specified name into the collection at the specified index.
Método protegido Insert(Int32, ModelComponent) Inserts a ModelComponent in the MajorObjectCollection at the specified index. (Herdado de MajorObjectCollection.)
Método público Insert(Int32, String, String) Creates and inserts a Dimension, with the specified name and identifier, into the collection at the specified index.
Método protegido Insert(IModelComponent, String, Int32) (Herdado de ModelComponentCollection.)
Método protegido Insert(IModelComponent, String, Int32, Boolean) (Herdado de ModelComponentCollection.)
Método público IsValidID(String) (Herdado de NamedComponentCollection.)
Método público IsValidID(String, String%) (Herdado de NamedComponentCollection.)
Método protegido IsValidID(String, Type, String%) (Herdado de NamedComponentCollection.)
Método público IsValidName(String) (Herdado de NamedComponentCollection.)
Método público IsValidName(String, String%) (Herdado de NamedComponentCollection.)
Método protegido IsValidName(String, Type, String%) (Herdado de NamedComponentCollection.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público Move(Int32, Int32) Moves a Dimension at the current specified index to a new specified index in the collection.
Método público Move(String, Int32) Moves a Dimension with the specified identifier to the specified index in the collection.
Método público Move(Dimension, Int32) Moves a Dimension to a new index in the collection.
Método público Remove(String) Removes the Dimension with the specified identifier from the collection.
Método público Remove(Dimension) Removes the specified Dimension from the collection.
Método protegido Remove(IModelComponent) (Herdado de ModelComponentCollection.)
Método público Remove(String, Boolean) Infraestrutura.
Método público Remove(Dimension, Boolean) Infraestrutura.
Método público RemoveAt(Int32) Removes the IModelComponent at the specified index from the ModelComponentCollection. (Herdado de ModelComponentCollection.)
Método público RemoveAt(Int32, Boolean) Infraestrutura. (Herdado de ModelComponentCollection.)
Método público ToString (Herdado de Object.)

Início

Eventos

  Nome Descrição
Evento público CollectionChanged Infraestrutura. (Herdado de ModelComponentCollection.)
Evento público CollectionChanging Infraestrutura. (Herdado de ModelComponentCollection.)

Início

Implementações de interfaces explícitas

  Nome Descrição
Implementações de interfaces explícitasMétodo privado IList. . :: . .Add (Herdado de ModelComponentCollection.)
Implementações de interfaces explícitasMétodo privado IList. . :: . .Clear (Herdado de ModelComponentCollection.)
Implementações de interfaces explícitasMétodo privado IList. . :: . .Contains (Herdado de ModelComponentCollection.)
Implementações de interfaces explícitasMétodo privado IList. . :: . .IndexOf (Herdado de ModelComponentCollection.)
Implementações de interfaces explícitasMétodo privado IList. . :: . .Insert (Herdado de ModelComponentCollection.)
Implementações de interfaces explícitasPropriedade privada IList. . :: . .Item (Herdado de ModelComponentCollection.)
Implementações de interfaces explícitasMétodo privado IList. . :: . .Remove (Herdado de ModelComponentCollection.)
Implementações de interfaces explícitasMétodo privado IList. . :: . .RemoveAt (Herdado de ModelComponentCollection.)
Implementações de interfaces explícitasMétodo privado IModelComponentCollection. . :: . .Contains (Herdado de ModelComponentCollection.)
Implementações de interfaces explícitasMétodo privado IModelComponentCollection. . :: . .Remove(IModelComponent) (Herdado de ModelComponentCollection.)
Implementações de interfaces explícitasMétodo privado IModelComponentCollection. . :: . .Remove(IModelComponent, Boolean) (Herdado de ModelComponentCollection.)
Implementações de interfaces explícitasMétodo privado IOnDemandLoadableCollection. . :: . .BlockOnDemandLoad (Herdado de ModelComponentCollection.)
Implementações de interfaces explícitasPropriedade privada IOnDemandLoadableCollection. . :: . .Loaded (Herdado de ModelComponentCollection.)

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência