Share 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 ReportParameter.

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 protégée Finalize (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 protégée MemberwiseClone (hérité de Object.)
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

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.