Share via


AdomdPropertyCollection Class

Represents a collection of AdomdProperty objects contained in an AdomdCommand.

Inheritance Hierarchy

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

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

Syntax

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

The AdomdPropertyCollection type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method Add(AdomdProperty) Adds an AdomdProperty to the AdomdPropertyCollection.
Public method Add(String, Object) Creates a new AdomdProperty with the specified property name and value.
Public method Add(String, String, Object) Creates a new AdomdProperty with the specified property name, namespace, and value.
Public method Clear Removes all properties from the AdomdPropertyCollection.
Public method Contains Determines whether a property is in the AdomdPropertyCollection.
Public method CopyTo Copies the elements of the AdomdPropertyCollection to the specified array.
Public method CreateObjRef Security Critical. (Inherited from MarshalByRefObject.)
Public method Equals (Inherited from Object.)
Public method Find(String) Gets the specified AdomdProperty from the AdomdPropertyCollection by its name.
Public method Find(String, String) Gets the specified AdomdProperty from the AdomdPropertyCollection by its name and namespace.
Public method GetEnumerator Returns an enumerator that iterates through the AdomdPropertyCollection.
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService Security Critical. (Inherited from MarshalByRefObject.)
Public method GetType (Inherited from Object.)
Public method IndexOf Returns the zero-based index of the first occurrence of a property in the AdomdPropertyCollection.
Public method InitializeLifetimeService Security Critical. (Inherited from MarshalByRefObject.)
Public method Insert Inserts a property into the AdomdPropertyCollection at the specified index.
Public method Remove Removes the first occurrence of a specified property from the AdomdPropertyCollection.
Public method RemoveAt Removes the property at the specified index of the AdomdPropertyCollection.
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add Adds an item to the AdomdPropertyCollection.
Explicit interface implemetationPrivate method IList.Contains Determines whether the AdomdPropertyCollection contains the specified element.
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the entire AdomdPropertyCollection to a compatible one dimensional array, starting at the specified index of the target array.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
Explicit interface implemetationPrivate method IList.IndexOf Determines the index of the specified item in the AdomdPropertyCollection.
Explicit interface implemetationPrivate method IList.Insert Inserts an element into the AdomdPropertyCollection at the specified index.
Explicit interface implemetationPrivate property IList.Item Gets or sets the element at the specified index.
Explicit interface implemetationPrivate method IList.Remove Removes the first occurrence of a specific object from the AdomdPropertyCollection.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AnalysisServices.AdomdClient Namespace