Partager via


Classe ReportParameterCollection

Contains a collection of ReportParameter objects. This class cannot be inherited.

Hiérarchie d'héritage

System.Object
  Microsoft.AnalysisServices.ReportParameterCollection

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

Syntaxe

'Déclaration
<GuidAttribute("EE87FC61-B507-4499-8DAF-F21EDA680E6C")> _
Public NotInheritable Class ReportParameterCollection _
    Implements IList, ICollection, IEnumerable
'Utilisation
Dim instance As ReportParameterCollection
[GuidAttribute("EE87FC61-B507-4499-8DAF-F21EDA680E6C")]
public sealed class ReportParameterCollection : IList, 
    ICollection, IEnumerable
[GuidAttribute(L"EE87FC61-B507-4499-8DAF-F21EDA680E6C")]
public ref class ReportParameterCollection sealed : IList, 
    ICollection, IEnumerable
[<SealedAttribute>]
[<GuidAttribute("EE87FC61-B507-4499-8DAF-F21EDA680E6C")>]
type ReportParameterCollection =  
    class 
        interface IList 
        interface ICollection 
        interface IEnumerable 
    end
public final class ReportParameterCollection implements IList, ICollection, IEnumerable

Le type ReportParameterCollection expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ReportParameterCollection Initializes a new instance of ReportParameterCollection class.

Haut de la page

Propriétés

  Nom Description
Propriété publique Count Gets the number of ReportParameter objects in the collection.
Propriété publique Item[Int32] Gets the ReportParameter at the specified index from the collection.
Propriété publique Item[String] Gets the ReportParameter that has the specified name from the collection.

Haut de la page

Méthodes

  Nom Description
Méthode publique Add(ReportParameter) Adds a ReportParameter to the end of the collection.
Méthode publique Add(String, String) Creates and adds a ReportParameter, with the specified name and value, to the end of the collection.
Méthode publique Clear Removes all elements from the collection.
Méthode publique Contains(String) Indicates whether the collection contains a ReportParameter that has the specified name.
Méthode publique Contains(ReportParameter) Indicates whether the collection contains a specified ReportParameter.
Méthode publique CopyTo(ReportParameterCollection) Copies the entire collection to the end of a ReportParameterCollection.
Méthode publique CopyTo(Array, Int32) Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
Méthode publique Equals (hérité de Object.)
Méthode publique Find Gets the ReportParameter that has the specified name from the collection.
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique IndexOf(String) Gets the index of a ReportParameter that has the specified name.
Méthode publique IndexOf(ReportParameter) Gets the index of a specified ReportParameter.
Méthode publique Insert(Int32, ReportParameter) Inserts a ReportParameter into the collection at the specified index.
Méthode publique Insert(Int32, String, String) Creates and inserts a ReportParameter, with the specified name and value, into the collection at the specified index.
Méthode publique Remove(String) Removes the ReportParameter with the specified name from the collection.
Méthode publique Remove(ReportParameter) Removes the specified ReportParameter from the collection.
Méthode publique RemoveAt Removes the ReportParameter at the specified index from the collection.
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 collection.
Implémentation d'interface expliciteMéthode privée IList.Contains Indicates whether the collection contains a specific value.
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 a specific item in the collection.
Implémentation d'interface expliciteMéthode privée IList.Insert Inserts an item to the collection at the specified index.
Implémentation d'interface explicitePropriété privée IList.IsFixedSize Gets a value that indicates whether the collection has a fixed size.
Implémentation d'interface explicitePropriété privée IList.IsReadOnly Gets a value that indicates whether this ReportParameterCollection is read-only.
Implémentation d'interface explicitePropriété privée ICollection.IsSynchronized Gets a value that indicates whether access to the ReportParameterCollection is synchronized.
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 specified object from the collection.
Implémentation d'interface explicitePropriété privée ICollection.SyncRoot Gets an object that can be used to synchronize access to the ReportParameterCollection.

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