Files
niko 8fc35183db a
2026-04-11 22:19:20 +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: 0x020000FE RID: 254
[Token(Token = "0x20000FE")]
[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: 0x06000638 RID: 1592 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000638")]
[Address(RVA = "0x497D60", Offset = "0x496B60", VA = "0x180497D60")]
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: 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;
}
}
/// <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: 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;
}
}
/// <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: 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)
{
}
}
}