Last change
on this file since 700 was 610, checked in by NoWest, 16 years ago |
CollectionクラスはListクラスと同じく
IListインターフェイスを実装しているのですが、
ListクラスのようにGetEnumeratorを実装できません。
原因は不明です。
|
File size:
1.1 KB
|
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>
|
---|
[579] | 12 | Inherits IDisposable
|
---|
[557] | 13 | ' Methods
|
---|
| 14 | Function MoveNext () As Boolean
|
---|
| 15 | Sub Reset()
|
---|
| 16 | ' Property
|
---|
| 17 | Function Current () As T
|
---|
| 18 | End Interface
|
---|
| 19 |
|
---|
| 20 |
|
---|
[592] | 21 | Interface ICollection<T>
|
---|
| 22 | Inherits IEnumerable<T>
|
---|
[557] | 23 | ' Property
|
---|
[610] | 24 | Function Count () As Long
|
---|
| 25 | Function IsReadOnly () As Boolean
|
---|
[557] | 26 |
|
---|
| 27 | ' Methods
|
---|
[592] | 28 | Sub Add ( item As T )
|
---|
| 29 | Sub Clear ()
|
---|
| 30 | ' Function Contains ( item As T ) As Boolean
|
---|
| 31 | ' Sub CopyTo (ByRef array As List<T>, arrayIndex As Long )
|
---|
| 32 | Function Remove ( item As T ) As Boolean
|
---|
| 33 | End Interface
|
---|
[557] | 34 |
|
---|
| 35 |
|
---|
[592] | 36 | Interface IList<T>
|
---|
[557] | 37 | Inherits ICollection<T>
|
---|
| 38 | ' Property
|
---|
[592] | 39 | ' Sub Operator[] ( index As Long, item As T )
|
---|
| 40 | ' Function Operator[] ( index As Long ) As T
|
---|
[577] | 41 |
|
---|
[592] | 42 | Sub Item ( index As Long, item As T )
|
---|
| 43 | Function Item ( index As Long ) As T
|
---|
[582] | 44 |
|
---|
[592] | 45 | Function IndexOf ( item As T ) As Long
|
---|
| 46 | Sub Insert ( index As Long, item As T )
|
---|
[610] | 47 | Sub RemoveAt ( index As Long )
|
---|
[577] | 48 | End Interface
|
---|
| 49 |
|
---|
[557] | 50 | End Namespace
|
---|
| 51 | End Namespace
|
---|
| 52 | End Namespace
|
---|
Note:
See
TracBrowser
for help on using the repository browser.