Files
27Aug2021-Cpp2IL-Dump/System/ComponentModel/ComponentCollection.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

65 lines
2.9 KiB
C#

using System;
using System.Collections;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Provides a read-only container for a collection of <see cref="T:System.ComponentModel.IComponent" /> objects.</summary>
// Token: 0x020000FA RID: 250
[Token(Token = "0x20000FA")]
[ComVisible(true)]
public class ComponentCollection : ReadOnlyCollectionBase
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.ComponentCollection" /> class using the specified array of components.</summary>
/// <param name="components">An array of <see cref="T:System.ComponentModel.IComponent" /> objects to initialize the collection with.</param>
// Token: 0x06000622 RID: 1570 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000622")]
[Address(RVA = "0xB94A80", Offset = "0xB93A80", VA = "0x180B94A80")]
public ComponentCollection(IComponent[] components)
{
}
/// <summary>Gets any component in the collection matching the specified name.</summary>
/// <param name="name">The name of the <see cref="T:System.ComponentModel.IComponent" /> to get.</param>
/// <returns>A component with a name matching the name specified by the <paramref name="name" /> parameter, or <see langword="null" /> if the named component cannot be found in the collection.</returns>
// Token: 0x17000116 RID: 278
[Token(Token = "0x17000116")]
public virtual IComponent this[string name]
{
[Token(Token = "0x6000623")]
[Address(RVA = "0xB94B60", Offset = "0xB93B60", VA = "0x180B94B60", Slot = "11")]
get
{
return null;
}
}
/// <summary>Gets the <see cref="T:System.ComponentModel.Component" /> in the collection at the specified collection index.</summary>
/// <param name="index">The collection index of the <see cref="T:System.ComponentModel.Component" /> to get.</param>
/// <returns>The <see cref="T:System.ComponentModel.IComponent" /> at the specified index.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">If the specified index is not within the index range of the collection.</exception>
// Token: 0x17000117 RID: 279
[Token(Token = "0x17000117")]
public virtual IComponent this[int index]
{
[Token(Token = "0x6000624")]
[Address(RVA = "0xB94AD0", Offset = "0xB93AD0", VA = "0x180B94AD0", Slot = "12")]
get
{
return null;
}
}
/// <summary>Copies the entire collection to an array, starting writing at the specified array index.</summary>
/// <param name="array">An <see cref="T:System.ComponentModel.IComponent" /> array to copy the objects in the collection to.</param>
/// <param name="index">The index of the <paramref name="array" /> at which copying to should begin.</param>
// Token: 0x06000625 RID: 1573 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000625")]
[Address(RVA = "0xB94A30", Offset = "0xB93A30", VA = "0x180B94A30")]
public void CopyTo(IComponent[] array, int index)
{
}
}
}