Condividi tramite


Classe AdomdPropertyCollection

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

'Dichiarazione
Public NotInheritable Class AdomdPropertyCollection _
    Inherits MarshalByRefObject _
    Implements IList, ICollection, IEnumerable
'Utilizzo
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

Nel tipo AdomdPropertyCollection sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica Count Gets the number of AdomdProperty objects in the AdomdPropertyCollection.
Proprietà pubblica IsFixedSize Gets a value indicating whether the AdomdPropertyCollection has a fixed size.
Proprietà pubblica IsReadOnly Gets a value indicating whether the AdomdPropertyCollection is read-only.
Proprietà pubblica IsSynchronized Gets a value indicating whether access to the AdomdPropertyCollection is synchronized (thread safe).
Proprietà pubblica 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.
Proprietà pubblica SyncRoot Gets an object that can be used to synchronize access to the AdomdPropertyCollection.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Add(AdomdProperty) Adds an AdomdProperty to the AdomdPropertyCollection.
Metodo pubblico Add(String, Object) Creates a new AdomdProperty with the specified property name and value.
Metodo pubblico Add(String, String, Object) Creates a new AdomdProperty with the specified property name, namespace, and value.
Metodo pubblico Clear Removes all properties from the AdomdPropertyCollection.
Metodo pubblico Contains Determines whether a property is in the AdomdPropertyCollection.
Metodo pubblico CopyTo Copies the elements of the AdomdPropertyCollection to the specified array.
Metodo pubblico CreateObjRef Ereditato da MarshalByRefObject.
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico Find(String) Gets the specified AdomdProperty from the AdomdPropertyCollection by its name.
Metodo pubblico Find(String, String) Gets the specified AdomdProperty from the AdomdPropertyCollection by its name and namespace.
Metodo pubblico GetEnumerator Gets an AdomdPropertyCollection..::..Enumerator for iterating through the AdomdPropertyCollection.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetLifetimeService Ereditato da MarshalByRefObject.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico IndexOf Returns the zero-based index of the first occurrence of a property in the AdomdPropertyCollection.
Metodo pubblico InitializeLifetimeService Ereditato da MarshalByRefObject.
Metodo pubblico Insert Inserts a property into the AdomdPropertyCollection at the specified index.
Metodo protetto MemberwiseClone() () () () Ereditato da Object.
Metodo protetto MemberwiseClone(Boolean) Ereditato da MarshalByRefObject.
Metodo pubblico Remove Removes the first occurrence of a specified property from the AdomdPropertyCollection.
Metodo pubblico RemoveAt Removes the property at the specified index of the AdomdPropertyCollection.
Metodo pubblico ToString Ereditato da Object.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.