using System; using System.Collections; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.ComponentModel { /// Provides a read-only container for a collection of objects. // Token: 0x020000FE RID: 254 [Token(Token = "0x20000FE")] [ComVisible(true)] public class ComponentCollection : ReadOnlyCollectionBase { /// Initializes a new instance of the class using the specified array of components. /// An array of objects to initialize the collection with. // Token: 0x06000638 RID: 1592 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000638")] [Address(RVA = "0x497D60", Offset = "0x496B60", VA = "0x180497D60")] public ComponentCollection(IComponent[] components) { } /// Gets any component in the collection matching the specified name. /// The name of the to get. /// A component with a name matching the name specified by the parameter, or if the named component cannot be found in the collection. // Token: 0x1700011A RID: 282 [Token(Token = "0x1700011A")] public virtual IComponent this[string name] { [Token(Token = "0x6000639")] [Address(RVA = "0x497E40", Offset = "0x496C40", VA = "0x180497E40", Slot = "11")] get { return null; } } /// Gets the in the collection at the specified collection index. /// The collection index of the to get. /// The at the specified index. /// If the specified index is not within the index range of the collection. // Token: 0x1700011B RID: 283 [Token(Token = "0x1700011B")] public virtual IComponent this[int index] { [Token(Token = "0x600063A")] [Address(RVA = "0x497DB0", Offset = "0x496BB0", VA = "0x180497DB0", Slot = "12")] get { return null; } } /// Copies the entire collection to an array, starting writing at the specified array index. /// An array to copy the objects in the collection to. /// The index of the at which copying to should begin. // Token: 0x0600063B RID: 1595 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x600063B")] [Address(RVA = "0x497D10", Offset = "0x496B10", VA = "0x180497D10")] public void CopyTo(IComponent[] array, int index) { } } }