Partager via


Classe ReportDataSourceCollection

Contient une collection d'objets ReportDataSource.

Hiérarchie d'héritage

System.Object
  System.Collections.ObjectModel.Collection<ReportDataSource>
    Microsoft.Reporting.WinForms.SyncList<ReportDataSource>
      Microsoft.Reporting.WinForms.ReportDataSourceCollection

Espace de noms :  Microsoft.Reporting.WinForms
Assembly :  Microsoft.ReportViewer.WinForms (en Microsoft.ReportViewer.WinForms.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public NotInheritable Class ReportDataSourceCollection _
    Inherits SyncList(Of ReportDataSource) _
    Implements ISerializable
'Utilisation
Dim instance As ReportDataSourceCollection
[SerializableAttribute]
[ComVisibleAttribute(false)]
public sealed class ReportDataSourceCollection : SyncList<ReportDataSource>, 
    ISerializable
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class ReportDataSourceCollection sealed : public SyncList<ReportDataSource^>, 
    ISerializable
[<SealedAttribute>]
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type ReportDataSourceCollection =  
    class
        inherit SyncList<ReportDataSource>
        interface ISerializable
    end
public final class ReportDataSourceCollection extends SyncList<ReportDataSource> implements ISerializable

Le type ReportDataSourceCollection expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Count (hérité de Collection<ReportDataSource>.)
Propriété publique Item[Int32] (hérité de Collection<ReportDataSource>.)
Propriété publique Item[String] Renvoie une source de données de rapport à partir de la collection qui correspond à un nom spécifique.
Propriété protégée Items (hérité de Collection<ReportDataSource>.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Add (hérité de Collection<ReportDataSource>.)
Méthode publique Clear (hérité de Collection<ReportDataSource>.)
Méthode protégée ClearItems Infrastructure. (hérité de SyncList<TListType>.)
Méthode publique Contains (hérité de Collection<ReportDataSource>.)
Méthode publique CopyTo (hérité de Collection<ReportDataSource>.)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetEnumerator (hérité de Collection<ReportDataSource>.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode publique IndexOf (hérité de Collection<ReportDataSource>.)
Méthode publique Insert (hérité de Collection<ReportDataSource>.)
Méthode protégée InsertItem Infrastructure. (hérité de SyncList<TListType>.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique Remove (hérité de Collection<ReportDataSource>.)
Méthode publique RemoveAt (hérité de Collection<ReportDataSource>.)
Méthode protégée RemoveItem Infrastructure. (hérité de SyncList<TListType>.)
Méthode protégée SetItem Infrastructure. (hérité de SyncList<TListType>.)
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 ISerializable.GetObjectData Infrastructure.
Implémentation d'interface expliciteMéthode privée IList.Add (hérité de Collection<ReportDataSource>.)
Implémentation d'interface expliciteMéthode privée IList.Contains (hérité de Collection<ReportDataSource>.)
Implémentation d'interface expliciteMéthode privée ICollection.CopyTo (hérité de Collection<ReportDataSource>.)
Implémentation d'interface expliciteMéthode privée IEnumerable.GetEnumerator (hérité de Collection<ReportDataSource>.)
Implémentation d'interface expliciteMéthode privée IList.IndexOf (hérité de Collection<ReportDataSource>.)
Implémentation d'interface expliciteMéthode privée IList.Insert (hérité de Collection<ReportDataSource>.)
Implémentation d'interface explicitePropriété privée IList.IsFixedSize (hérité de Collection<ReportDataSource>.)
Implémentation d'interface explicitePropriété privée ICollection<T>.IsReadOnly (hérité de Collection<ReportDataSource>.)
Implémentation d'interface explicitePropriété privée IList.IsReadOnly (hérité de Collection<ReportDataSource>.)
Implémentation d'interface explicitePropriété privée ICollection.IsSynchronized (hérité de Collection<ReportDataSource>.)
Implémentation d'interface explicitePropriété privée IList.Item (hérité de Collection<ReportDataSource>.)
Implémentation d'interface expliciteMéthode privée IList.Remove (hérité de Collection<ReportDataSource>.)
Implémentation d'interface explicitePropriété privée ICollection.SyncRoot (hérité de Collection<ReportDataSource>.)

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.Reporting.WinForms