C# Class System.Collections.ArrayList

Inheritance: System.Collections.IEnumerable, System.Collections.IList, System.ICloneable
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
ArrayList ( bool trash ) : System.Security
EnsureCapacity ( int min ) : void
ReadOnly ( IList list ) : IList
ToArray ( Type type ) : Array

Method Details

Adapter() public static méthode

public static Adapter ( IList list ) : ArrayList
list IList
Résultat ArrayList

Add() public méthode

public Add ( Object value ) : int
value Object
Résultat int

AddRange() public méthode

public AddRange ( ICollection c ) : void
c ICollection
Résultat void

ArrayList() public méthode

public ArrayList ( ) : System.Security
Résultat System.Security

ArrayList() public méthode

public ArrayList ( ICollection c ) : System.Security
c ICollection
Résultat System.Security

ArrayList() public méthode

public ArrayList ( int capacity ) : System.Security
capacity int
Résultat System.Security

BinarySearch() public méthode

public BinarySearch ( Object value ) : int
value Object
Résultat int

BinarySearch() public méthode

public BinarySearch ( Object value, IComparer comparer ) : int
value Object
comparer IComparer
Résultat int

BinarySearch() public méthode

public BinarySearch ( int index, int count, Object value, IComparer comparer ) : int
index int
count int
value Object
comparer IComparer
Résultat int

Clear() public méthode

public Clear ( ) : void
Résultat void

Clone() public méthode

public Clone ( ) : Object
Résultat Object

Contains() public méthode

public Contains ( Object item ) : bool
item Object
Résultat bool

CopyTo() public méthode

public CopyTo ( Array array ) : void
array Array
Résultat void

CopyTo() public méthode

public CopyTo ( Array array, int arrayIndex ) : void
array Array
arrayIndex int
Résultat void

CopyTo() public méthode

public CopyTo ( int index, Array array, int arrayIndex, int count ) : void
index int
array Array
arrayIndex int
count int
Résultat void

FixedSize() public static méthode

public static FixedSize ( ArrayList list ) : ArrayList
list ArrayList
Résultat ArrayList

FixedSize() public static méthode

public static FixedSize ( IList list ) : IList
list IList
Résultat IList

GetEnumerator() public méthode

public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

GetEnumerator() public méthode

public GetEnumerator ( int index, int count ) : IEnumerator
index int
count int
Résultat IEnumerator

GetRange() public méthode

public GetRange ( int index, int count ) : ArrayList
index int
count int
Résultat ArrayList

IndexOf() public méthode

public IndexOf ( Object value ) : int
value Object
Résultat int

IndexOf() public méthode

public IndexOf ( Object value, int startIndex ) : int
value Object
startIndex int
Résultat int

IndexOf() public méthode

public IndexOf ( Object value, int startIndex, int count ) : int
value Object
startIndex int
count int
Résultat int

Insert() public méthode

public Insert ( int index, Object value ) : void
index int
value Object
Résultat void

InsertRange() public méthode

public InsertRange ( int index, ICollection c ) : void
index int
c ICollection
Résultat void

LastIndexOf() public méthode

public LastIndexOf ( Object value ) : int
value Object
Résultat int

LastIndexOf() public méthode

public LastIndexOf ( Object value, int startIndex ) : int
value Object
startIndex int
Résultat int

LastIndexOf() public méthode

public LastIndexOf ( Object value, int startIndex, int count ) : int
value Object
startIndex int
count int
Résultat int

ReadOnly() public static méthode

public static ReadOnly ( ArrayList list ) : ArrayList
list ArrayList
Résultat ArrayList

Remove() public méthode

public Remove ( Object obj ) : void
obj Object
Résultat void

RemoveAt() public méthode

public RemoveAt ( int index ) : void
index int
Résultat void

RemoveRange() public méthode

public RemoveRange ( int index, int count ) : void
index int
count int
Résultat void

Repeat() public static méthode

public static Repeat ( Object value, int count ) : ArrayList
value Object
count int
Résultat ArrayList

Reverse() public méthode

public Reverse ( ) : void
Résultat void

Reverse() public méthode

public Reverse ( int index, int count ) : void
index int
count int
Résultat void

SetRange() public méthode

public SetRange ( int index, ICollection c ) : void
index int
c ICollection
Résultat void

Sort() public méthode

public Sort ( ) : void
Résultat void

Sort() public méthode

public Sort ( IComparer comparer ) : void
comparer IComparer
Résultat void

Sort() public méthode

public Sort ( int index, int count, IComparer comparer ) : void
index int
count int
comparer IComparer
Résultat void

Synchronized() public static méthode

public static Synchronized ( ArrayList list ) : ArrayList
list ArrayList
Résultat ArrayList

Synchronized() public static méthode

public static Synchronized ( IList list ) : IList
list IList
Résultat IList

ToArray() public méthode

public ToArray ( ) : Object[]
Résultat Object[]

TrimToSize() public méthode

public TrimToSize ( ) : void
Résultat void

this() public méthode

public this ( int index ) : Object
index int
Résultat Object