C# Класс System.Collections.ArrayList

Наследование: System.Collections.IEnumerable, System.Collections.IList, System.ICloneable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Adapter ( IList list ) : ArrayList
Add ( Object value ) : int
AddRange ( ICollection c ) : void
ArrayList ( ) : System.Security
ArrayList ( ICollection c ) : System.Security
ArrayList ( int capacity ) : System.Security
BinarySearch ( Object value ) : int
BinarySearch ( Object value, IComparer comparer ) : int
BinarySearch ( int index, int count, Object value, IComparer comparer ) : int
Clear ( ) : void
Clone ( ) : Object
Contains ( Object item ) : bool
CopyTo ( Array array ) : void
CopyTo ( Array array, int arrayIndex ) : void
CopyTo ( int index, Array array, int arrayIndex, int count ) : void
FixedSize ( ArrayList list ) : ArrayList
FixedSize ( IList list ) : IList
GetEnumerator ( ) : IEnumerator
GetEnumerator ( int index, int count ) : IEnumerator
GetRange ( int index, int count ) : ArrayList
IndexOf ( Object value ) : int
IndexOf ( Object value, int startIndex ) : int
IndexOf ( Object value, int startIndex, int count ) : int
Insert ( int index, Object value ) : void
InsertRange ( int index, ICollection c ) : void
LastIndexOf ( Object value ) : int
LastIndexOf ( Object value, int startIndex ) : int
LastIndexOf ( Object value, int startIndex, int count ) : int
ReadOnly ( ArrayList list ) : ArrayList
Remove ( Object obj ) : void
RemoveAt ( int index ) : void
RemoveRange ( int index, int count ) : void
Repeat ( Object value, int count ) : ArrayList
Reverse ( ) : void
Reverse ( int index, int count ) : void
SetRange ( int index, ICollection c ) : void
Sort ( ) : void
Sort ( IComparer comparer ) : void
Sort ( int index, int count, IComparer comparer ) : void
Synchronized ( ArrayList list ) : ArrayList
Synchronized ( IList list ) : IList
ToArray ( ) : Object[]
TrimToSize ( ) : void
this ( int index ) : Object

Приватные методы

Метод Описание
ArrayList ( bool trash ) : System.Security
EnsureCapacity ( int min ) : void
ReadOnly ( IList list ) : IList
ToArray ( Type type ) : Array

Описание методов

Adapter() публичный статический метод

public static Adapter ( IList list ) : ArrayList
list IList
Результат ArrayList

Add() публичный метод

public Add ( Object value ) : int
value Object
Результат int

AddRange() публичный метод

public AddRange ( ICollection c ) : void
c ICollection
Результат void

ArrayList() публичный метод

public ArrayList ( ) : System.Security
Результат System.Security

ArrayList() публичный метод

public ArrayList ( ICollection c ) : System.Security
c ICollection
Результат System.Security

ArrayList() публичный метод

public ArrayList ( int capacity ) : System.Security
capacity int
Результат System.Security

BinarySearch() публичный метод

public BinarySearch ( Object value ) : int
value Object
Результат int

BinarySearch() публичный метод

public BinarySearch ( Object value, IComparer comparer ) : int
value Object
comparer IComparer
Результат int

BinarySearch() публичный метод

public BinarySearch ( int index, int count, Object value, IComparer comparer ) : int
index int
count int
value Object
comparer IComparer
Результат int

Clear() публичный метод

public Clear ( ) : void
Результат void

Clone() публичный метод

public Clone ( ) : Object
Результат Object

Contains() публичный метод

public Contains ( Object item ) : bool
item Object
Результат bool

CopyTo() публичный метод

public CopyTo ( Array array ) : void
array Array
Результат void

CopyTo() публичный метод

public CopyTo ( Array array, int arrayIndex ) : void
array Array
arrayIndex int
Результат void

CopyTo() публичный метод

public CopyTo ( int index, Array array, int arrayIndex, int count ) : void
index int
array Array
arrayIndex int
count int
Результат void

FixedSize() публичный статический метод

public static FixedSize ( ArrayList list ) : ArrayList
list ArrayList
Результат ArrayList

FixedSize() публичный статический метод

public static FixedSize ( IList list ) : IList
list IList
Результат IList

GetEnumerator() публичный метод

public GetEnumerator ( ) : IEnumerator
Результат IEnumerator

GetEnumerator() публичный метод

public GetEnumerator ( int index, int count ) : IEnumerator
index int
count int
Результат IEnumerator

GetRange() публичный метод

public GetRange ( int index, int count ) : ArrayList
index int
count int
Результат ArrayList

IndexOf() публичный метод

public IndexOf ( Object value ) : int
value Object
Результат int

IndexOf() публичный метод

public IndexOf ( Object value, int startIndex ) : int
value Object
startIndex int
Результат int

IndexOf() публичный метод

public IndexOf ( Object value, int startIndex, int count ) : int
value Object
startIndex int
count int
Результат int

Insert() публичный метод

public Insert ( int index, Object value ) : void
index int
value Object
Результат void

InsertRange() публичный метод

public InsertRange ( int index, ICollection c ) : void
index int
c ICollection
Результат void

LastIndexOf() публичный метод

public LastIndexOf ( Object value ) : int
value Object
Результат int

LastIndexOf() публичный метод

public LastIndexOf ( Object value, int startIndex ) : int
value Object
startIndex int
Результат int

LastIndexOf() публичный метод

public LastIndexOf ( Object value, int startIndex, int count ) : int
value Object
startIndex int
count int
Результат int

ReadOnly() публичный статический метод

public static ReadOnly ( ArrayList list ) : ArrayList
list ArrayList
Результат ArrayList

Remove() публичный метод

public Remove ( Object obj ) : void
obj Object
Результат void

RemoveAt() публичный метод

public RemoveAt ( int index ) : void
index int
Результат void

RemoveRange() публичный метод

public RemoveRange ( int index, int count ) : void
index int
count int
Результат void

Repeat() публичный статический метод

public static Repeat ( Object value, int count ) : ArrayList
value Object
count int
Результат ArrayList

Reverse() публичный метод

public Reverse ( ) : void
Результат void

Reverse() публичный метод

public Reverse ( int index, int count ) : void
index int
count int
Результат void

SetRange() публичный метод

public SetRange ( int index, ICollection c ) : void
index int
c ICollection
Результат void

Sort() публичный метод

public Sort ( ) : void
Результат void

Sort() публичный метод

public Sort ( IComparer comparer ) : void
comparer IComparer
Результат void

Sort() публичный метод

public Sort ( int index, int count, IComparer comparer ) : void
index int
count int
comparer IComparer
Результат void

Synchronized() публичный статический метод

public static Synchronized ( ArrayList list ) : ArrayList
list ArrayList
Результат ArrayList

Synchronized() публичный статический метод

public static Synchronized ( IList list ) : IList
list IList
Результат IList

ToArray() публичный метод

public ToArray ( ) : Object[]
Результат Object[]

TrimToSize() публичный метод

public TrimToSize ( ) : void
Результат void

this() публичный метод

public this ( int index ) : Object
index int
Результат Object