Rev | Line | |
---|
[557] | 1 |
|
---|
| 2 | Namespace System
|
---|
| 3 | Namespace Collections
|
---|
| 4 | Namespace Generic
|
---|
| 5 |
|
---|
| 6 | Interface IEnumerable<T>
|
---|
| 7 | ' Method
|
---|
| 8 | Function GetEnumerator () As IEnumerator<T>
|
---|
| 9 | End Interface
|
---|
| 10 |
|
---|
| 11 | Interface IEnumerator<T>
|
---|
| 12 | ' Methods
|
---|
| 13 | Function MoveNext () As Boolean
|
---|
| 14 | Sub Reset()
|
---|
| 15 | ' Property
|
---|
| 16 | Function Current () As T
|
---|
| 17 | End Interface
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | Class ICollection<T>
|
---|
| 21 | Implements IEnumerable<T>, IEnumerator<T>
|
---|
| 22 | Public
|
---|
| 23 | ' Property
|
---|
| 24 | Virtual Function Count() As Long
|
---|
| 25 | End Function
|
---|
| 26 | Virtual Function IsReadOnly() As Boolean
|
---|
| 27 | End Function
|
---|
| 28 |
|
---|
| 29 | ' Methods
|
---|
| 30 | Virtual Sub Add ( item As T )
|
---|
| 31 | End Sub
|
---|
| 32 | Virtual Sub Clear ()
|
---|
| 33 | End Sub
|
---|
| 34 | Virtual Function Contains ( item As T ) As Boolean
|
---|
| 35 | End Function
|
---|
| 36 | Virtual Sub CopyTo (ByRef array As List<T>, arrayIndex As Long )
|
---|
| 37 | End Sub
|
---|
| 38 | Virtual Function Remove ( item As T ) As Boolean
|
---|
| 39 | End Function
|
---|
| 40 | End Class
|
---|
| 41 |
|
---|
| 42 |
|
---|
| 43 | Class IList<T>
|
---|
| 44 | Inherits ICollection<T>
|
---|
| 45 | Public
|
---|
| 46 | ' Property
|
---|
| 47 | Virtual Sub Operator[] ( index As Long, item As T )
|
---|
| 48 | End Sub
|
---|
| 49 | Virtual Function Operator[] ( index As Long ) As T
|
---|
| 50 | End Function
|
---|
| 51 | ' Methods
|
---|
| 52 | Virtual Function Item ( index As Long ) As T
|
---|
| 53 | End Function
|
---|
| 54 | Virtual Function IndexOf ( item As T ) As Long
|
---|
| 55 | End Function
|
---|
| 56 | Virtual Sub Insert ( index As Long, item As T )
|
---|
| 57 | End Sub
|
---|
| 58 | Virtual Sub RemoveAt( index As Long )
|
---|
| 59 | End Sub
|
---|
| 60 | End Class
|
---|
| 61 |
|
---|
| 62 | End Namespace
|
---|
| 63 | End Namespace
|
---|
| 64 | End Namespace
|
---|
Note:
See
TracBrowser
for help on using the repository browser.