Partager via


Classe AdomdPropertyCollection

Represents a collection of AdomdProperty objects contained in an AdomdCommand.

Hiérarchie d'héritage

System.Object
  System.MarshalByRefObject
    Microsoft.AnalysisServices.AdomdClient.AdomdPropertyCollection

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

Syntaxe

'Déclaration
Public NotInheritable Class AdomdPropertyCollection _
    Inherits MarshalByRefObject _
    Implements IList, ICollection, IEnumerable
'Utilisation
Dim instance As AdomdPropertyCollection
public sealed class AdomdPropertyCollection : MarshalByRefObject, 
    IList, ICollection, IEnumerable
public ref class AdomdPropertyCollection sealed : public MarshalByRefObject, 
    IList, ICollection, IEnumerable
[<SealedAttribute>]
type AdomdPropertyCollection =  
    class 
        inherit MarshalByRefObject 
        interface IList 
        interface ICollection 
        interface IEnumerable 
    end
public final class AdomdPropertyCollection extends MarshalByRefObject implements IList, ICollection, IEnumerable

Le type AdomdPropertyCollection expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Count Gets the number of AdomdProperty objects in the AdomdPropertyCollection.
Propriété publique IsFixedSize Gets a value indicating whether the AdomdPropertyCollection has a fixed size.
Propriété publique IsReadOnly Gets a value indicating whether the AdomdPropertyCollection is read-only.
Propriété publique IsSynchronized Gets a value indicating whether access to the AdomdPropertyCollection is synchronized (thread safe).
Propriété publique Item Gets or sets the specified AdomdProperty from the AdomdPropertyCollection by its index. In Microsoft Visual C#, this property is the indexer for the AdomdPropertyCollection class.
Propriété publique SyncRoot Gets an object that can be used to synchronize access to the AdomdPropertyCollection.

Haut de la page

Méthodes

  Nom Description
Méthode publique Add(AdomdProperty) Adds an AdomdProperty to the AdomdPropertyCollection.
Méthode publique Add(String, Object) Creates a new AdomdProperty with the specified property name and value.
Méthode publique Add(String, String, Object) Creates a new AdomdProperty with the specified property name, namespace, and value.
Méthode publique Clear Removes all properties from the AdomdPropertyCollection.
Méthode publique Contains Determines whether a property is in the AdomdPropertyCollection.
Méthode publique CopyTo Copies the elements of the AdomdPropertyCollection to the specified array.
Méthode publique CreateObjRef Informations critiques de sécurité. (hérité de MarshalByRefObject.)
Méthode publique Equals (hérité de Object.)
Méthode publique Find(String) Gets the specified AdomdProperty from the AdomdPropertyCollection by its name.
Méthode publique Find(String, String) Gets the specified AdomdProperty from the AdomdPropertyCollection by its name and namespace.
Méthode publique GetEnumerator Returns an enumerator that iterates through the AdomdPropertyCollection.
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetLifetimeService Informations critiques de sécurité. (hérité de MarshalByRefObject.)
Méthode publique GetType (hérité de Object.)
Méthode publique IndexOf Returns the zero-based index of the first occurrence of a property in the AdomdPropertyCollection.
Méthode publique InitializeLifetimeService Informations critiques de sécurité. (hérité de MarshalByRefObject.)
Méthode publique Insert Inserts a property into the AdomdPropertyCollection at the specified index.
Méthode publique Remove Removes the first occurrence of a specified property from the AdomdPropertyCollection.
Méthode publique RemoveAt Removes the property at the specified index of the AdomdPropertyCollection.
Méthode publique ToString (hérité de Object.)

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée IList.Add Adds an item to the AdomdPropertyCollection.
Implémentation d'interface expliciteMéthode privée IList.Contains Determines whether the AdomdPropertyCollection contains the specified element.
Implémentation d'interface expliciteMéthode privée ICollection.CopyTo Copies the entire AdomdPropertyCollection to a compatible one dimensional array, starting at the specified index of the target array.
Implémentation d'interface expliciteMéthode privée IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
Implémentation d'interface expliciteMéthode privée IList.IndexOf Determines the index of the specified item in the AdomdPropertyCollection.
Implémentation d'interface expliciteMéthode privée IList.Insert Inserts an element into the AdomdPropertyCollection at the specified index.
Implémentation d'interface explicitePropriété privée IList.Item Gets or sets the element at the specified index.
Implémentation d'interface expliciteMéthode privée IList.Remove Removes the first occurrence of a specific object from the AdomdPropertyCollection.

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.

Voir aussi

Référence

Espace de noms Microsoft.AnalysisServices.AdomdClient