AdomdParameterCollection Members

Include Protected Members
Include Inherited Members

This class gets a collection of AdomdParameter objects contained in a AdomdCommand object.

The AdomdParameterCollection type exposes the following members.

Methods

  Name Description
Public method Add(AdomdParameter) Adds a AdomdParameter object to the AdomdParameterCollection collection.
Public method Add(String, Object) Creates a new AdomdParameter object with the specified property name and value, and adds it to the collection.
Public method Clear() Removes all parameters from the AdomdParameterCollection object.
Public method Contains(String) Given a property name, this method determines whether a parameter is in the AdomdParameterCollection collection.
Public method Contains(AdomdParameter) Determines whether a parameter is in the AdomdParameterCollection collection.
Public method CopyTo(array<AdomdParameter[], Int32) Copies the elements of the AdomdParameterCollection collection to the specified array.
Public method CreateObjRef(Type) (Inherited from MarshalByRefObject.)
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method Find(String) Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name.
Protected method GetEnumerator()
Public method GetHashCode() (Inherited from Object.)
Public method GetLifetimeService() (Inherited from MarshalByRefObject.)
Public method GetType() (Inherited from Object.)
Public method IndexOf(String) Given a property name, this method returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection.
Public method IndexOf(AdomdParameter) Returns the zero-based index of the first occurrence of a parameter in the AdomdParameterCollection collection.
Public method InitializeLifetimeService() (Inherited from MarshalByRefObject.)
Public method Insert(Int32, AdomdParameter) Inserts a parameter into the AdomdParameterCollection collection at the specified index.
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method Remove(AdomdParameter) Removes the first occurrence of a specific parameter from the AdomdParameterCollection object.
Public method RemoveAt(Int32) Removes the parameter at the specified index of the AdomdParameterCollection object.
Public method RemoveAt(String) Removes the parameter specified by name in the AdomdParameterCollection object.
Public method ToString() (Inherited from Object.)

Top

Properties

  Name Description
Public property Count Gets the number of AdomdParameter objects in the AdomdParameterCollection collection.
Public property Item[Int32] Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its index. In Microsoft Visual C#, this property is the indexer for the AdomdParameterCollection class.
Public property Item[String] Gets the specified AdomdParameter object from the AdomdParameterCollection collection by its name. In Microsoft Visual C#, this property is the indexer for the AdomdParameterCollection class.

Top