Compartilhar via


Classe AdomdPropertyCollection

This class gets a collection of AdomdProperty objects contained in an AdomdCommand.

Hierarquia de herança

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

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

Sintaxe

'Declaração
Public NotInheritable Class AdomdPropertyCollection _
    Inherits MarshalByRefObject _
    Implements IList, ICollection, IEnumerable
'Uso
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

O tipo AdomdPropertyCollection expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Count Gets the number of AdomdProperty objects in the AdomdPropertyCollection.
Propriedade pública IsFixedSize Gets a value indicating whether the AdomdPropertyCollection has a fixed size.
Propriedade pública IsReadOnly Gets a value indicating whether the AdomdPropertyCollection is read-only.
Propriedade pública IsSynchronized Gets a value indicating whether access to the AdomdPropertyCollection is synchronized (thread safe).
Propriedade pública 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.
Propriedade pública SyncRoot Gets an object that can be used to synchronize access to the AdomdPropertyCollection.

Início

Métodos

  Nome Descrição
Método público Add(AdomdProperty) Adds an AdomdProperty to the AdomdPropertyCollection.
Método público Add(String, Object) Creates a new AdomdProperty with the specified property name and value.
Método público Add(String, String, Object) Creates a new AdomdProperty with the specified property name, namespace, and value.
Método público Clear Removes all properties from the AdomdPropertyCollection.
Método público Contains Determines whether a property is in the AdomdPropertyCollection.
Método público CopyTo Copies the elements of the AdomdPropertyCollection to the specified array.
Método público CreateObjRef (Herdado de MarshalByRefObject.)
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público Find(String) Gets the specified AdomdProperty from the AdomdPropertyCollection by its name.
Método público Find(String, String) Gets the specified AdomdProperty from the AdomdPropertyCollection by its name and namespace.
Método público GetEnumerator Gets an AdomdPropertyCollection..::..Enumerator for iterating through the AdomdPropertyCollection.
Método público GetHashCode (Herdado de Object.)
Método público GetLifetimeService (Herdado de MarshalByRefObject.)
Método público GetType (Herdado de Object.)
Método público IndexOf Returns the zero-based index of the first occurrence of a property in the AdomdPropertyCollection.
Método público InitializeLifetimeService (Herdado de MarshalByRefObject.)
Método público Insert Inserts a property into the AdomdPropertyCollection at the specified index.
Método protegido MemberwiseClone() () () () (Herdado de Object.)
Método protegido MemberwiseClone(Boolean) (Herdado de MarshalByRefObject.)
Método público Remove Removes the first occurrence of a specified property from the AdomdPropertyCollection.
Método público RemoveAt Removes the property at the specified index of the AdomdPropertyCollection.
Método público ToString (Herdado de Object.)

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.