Partager via


Classe PerspectiveCollection

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

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
<GuidAttribute("417A2A43-AFEE-40ee-BCE5-88B703120A54")> _
Public NotInheritable Class PerspectiveCollection _
    Inherits MajorObjectCollection
'Utilisation
Dim instance As PerspectiveCollection
[GuidAttribute("417A2A43-AFEE-40ee-BCE5-88B703120A54")]
public sealed class PerspectiveCollection : MajorObjectCollection
[GuidAttribute(L"417A2A43-AFEE-40ee-BCE5-88B703120A54")]
public ref class PerspectiveCollection sealed : public MajorObjectCollection
[<SealedAttribute>]
[<GuidAttribute("417A2A43-AFEE-40ee-BCE5-88B703120A54")>]
type PerspectiveCollection =  
    class
        inherit MajorObjectCollection
    end
public final class PerspectiveCollection extends MajorObjectCollection

Le type PerspectiveCollection expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Count Gets the number of ModelComponent objects in the ModelComponentCollection. (hérité de ModelComponentCollection.)
Propriété protégée DemandLoadingService Infrastructure. (hérité de ModelComponentCollection.)
Propriété publique IsFixedSize Gets a value indicating whether the ModelComponentCollection has a fixed size. (hérité de ModelComponentCollection.)
Propriété publique IsReadOnly Gets a value indicating whether the ModelComponentCollection is read-only. (hérité de ModelComponentCollection.)
Propriété publique IsSynchronized Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (hérité de ModelComponentCollection.)
Propriété publique Item[ ( [ ( Int32] ) ] ) Gets the Perspective at the specified index from the collection.
Propriété publique Item[ ( [ ( String] ) ] ) Gets the Perspective that has the specified identifier from the collection.
Propriété protégée ItemsType Gets the Type of objects that can be contained by the ModelComponentCollection. (hérité de ModelComponentCollection.)
Propriété publique Parent Gets the IModelComponent that contains the ModelComponentCollection. (hérité de ModelComponentCollection.)
Propriété protégée Preloadable Infrastructure. (hérité de ModelComponentCollection.)
Propriété publique SyncRoot Gets an object that can be used to synchronize access to the ModelComponentCollection. (hérité de ModelComponentCollection.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Add() () () () Creates and adds a Perspective to the end of the collection.
Méthode publique Add(String) Creates and adds a Perspective, with the specified identifier, to the end of the collection.
Méthode protégée Add(ModelComponent) Adds a ModelComponent to the end of the MajorObjectCollection. (hérité de MajorObjectCollection.)
Méthode publique Add(Perspective) Adds a Perspective to the end of the collection.
Méthode protégée Add(String, IModelComponent) (hérité de ModelComponentCollection.)
Méthode publique Add(String, String) Creates and adds a Perspective, with the specified name and identifier, to the end of the collection.
Méthode protégée Add(ModelComponent, Boolean) Infrastructure. (hérité de ModelComponentCollection.)
Méthode protégée Add(String, IModelComponent, Boolean) (hérité de ModelComponentCollection.)
Méthode protégée AddNew(String, Type) Infrastructure. (hérité de ModelComponentCollection.)
Méthode protégée AddNew(String, String, Type) Infrastructure. (hérité de ModelComponentCollection.)
Méthode publique CanAdd Infrastructure. (hérité de NamedComponentCollection.)
Méthode protégée ChangeKey Infrastructure. (hérité de ModelComponentCollection.)
Méthode publique Clear Removes all elements from the ModelComponentCollection. (hérité de ModelComponentCollection.)
Méthode publique Contains(String) Indicates whether the collection contains a Perspective that has the specified identifier.
Méthode protégée Contains(IModelComponent) (hérité de ModelComponentCollection.)
Méthode publique Contains(Perspective) Indicates whether the collection contains a specified Perspective.
Méthode publique ContainsName (hérité de NamedComponentCollection.)
Méthode publique CopyTo Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (hérité de ModelComponentCollection.)
Méthode protégée EnsureLoaded Infrastructure. (hérité de ModelComponentCollection.)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique Find Gets the Perspective that has the specified identifier from the collection.
Méthode publique FindByName Gets the Perspective, that has the specified name, from the collection.
Méthode publique GetByName Gets the Perspective that has the specified name from the collection.
Méthode publique GetEnumerator Returns an enumerator that can iterate through the ModelComponentCollection. (hérité de ModelComponentCollection.)
Méthode publique GetHashCode (hérité de Object.)
Méthode protégée GetItem Gets a reference to the specified component. (hérité de ModelComponentCollection.)
Méthode publique GetNewID() () () () (hérité de NamedComponentCollection.)
Méthode publique GetNewID(String) (hérité de NamedComponentCollection.)
Méthode publique GetNewName() () () () (hérité de NamedComponentCollection.)
Méthode publique GetNewName(String) (hérité de NamedComponentCollection.)
Méthode publique GetType (hérité de Object.)
Méthode publique IndexOf(String) Gets the index of a Perspective that has the specified identifier.
Méthode protégée IndexOf(IModelComponent) (hérité de ModelComponentCollection.)
Méthode publique IndexOf(Perspective) Gets the index of a specified Perspective.
Méthode publique IndexOfName (hérité de NamedComponentCollection.)
Méthode publique Insert(Int32) Creates and inserts a Perspective into the collection at the specified index.
Méthode protégée Insert(Int32, ModelComponent) Inserts a ModelComponent in the MajorObjectCollection at the specified index. (hérité de MajorObjectCollection.)
Méthode publique Insert(Int32, Perspective) Inserts a Perspective into the collection at the specified index.
Méthode publique Insert(Int32, String) Creates and inserts a Perspective, with the specified identifier, into the collection at the specified index.
Méthode publique Insert(Int32, String, String) Creates and inserts a Perspective, with the specified name and identifier, into the collection at the specified index.
Méthode protégée Insert(IModelComponent, String, Int32) (hérité de ModelComponentCollection.)
Méthode protégée Insert(IModelComponent, String, Int32, Boolean) (hérité de ModelComponentCollection.)
Méthode publique IsValidID(String) (hérité de NamedComponentCollection.)
Méthode publique IsValidID(String, String%) (remplace NamedComponentCollection. . :: . .IsValidID(String, String%).)
Méthode protégée IsValidID(String, Type, String%) (hérité de NamedComponentCollection.)
Méthode publique IsValidName(String) (hérité de NamedComponentCollection.)
Méthode publique IsValidName(String, String%) (remplace NamedComponentCollection. . :: . .IsValidName(String, String%).)
Méthode protégée IsValidName(String, Type, String%) (hérité de NamedComponentCollection.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique Move(Int32, Int32) Moves a Perspective at the current specified index to a new specified index in the collection.
Méthode publique Move(String, Int32) Moves the Perspective that has the specified identifier to the specified index in the collection.
Méthode publique Move(Perspective, Int32) Moves a Perspective to a new index in the collection.
Méthode publique Remove(String) Removes the Perspective that has the specified identifier from the collection.
Méthode protégée Remove(IModelComponent) (hérité de ModelComponentCollection.)
Méthode publique Remove(Perspective) Removes the specified Perspective from the collection.
Méthode publique Remove(String, Boolean) Infrastructure.
Méthode publique Remove(Perspective, Boolean) Infrastructure.
Méthode publique RemoveAt(Int32) Removes the IModelComponent at the specified index from the ModelComponentCollection. (hérité de ModelComponentCollection.)
Méthode publique RemoveAt(Int32, Boolean) Infrastructure. (hérité de ModelComponentCollection.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Événements

  Nom Description
Événement public CollectionChanged Infrastructure. (hérité de ModelComponentCollection.)
Événement public CollectionChanging Infrastructure. (hérité de ModelComponentCollection.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée IList. . :: . .Add (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IList. . :: . .Clear (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IList. . :: . .Contains (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IList. . :: . .IndexOf (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IList. . :: . .Insert (hérité de ModelComponentCollection.)
Implémentation d'interface explicitePropriété privée IList. . :: . .Item (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IList. . :: . .Remove (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IList. . :: . .RemoveAt (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IModelComponentCollection. . :: . .Contains (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IModelComponentCollection. . :: . .Remove(IModelComponent) (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IModelComponentCollection. . :: . .Remove(IModelComponent, Boolean) (hérité de ModelComponentCollection.)
Implémentation d'interface expliciteMéthode privée IOnDemandLoadableCollection. . :: . .BlockOnDemandLoad (hérité de ModelComponentCollection.)
Implémentation d'interface explicitePropriété privée IOnDemandLoadableCollection. . :: . .Loaded (hérité de ModelComponentCollection.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.