The Classes type exposes the following members.
Constructors
Methods
Name | Description | |
---|---|---|
AddInt |
For internal use.
(Inherited from OwnedCollection.) |
|
AssignFrom |
Clears the current collection, and copies the items from another one.
The items are copied by cloning, and must support the ICloneable
interface (if an item that does not support is encountered, an exception occurs).
(Inherited from OwnedCollection.) |
|
Clear |
Removes all objects from the CollectionBase instance. This method cannot be overridden.
(Inherited from CollectionBase.) |
|
Exchange |
Swap two items in collection.
(Inherited from OwnedCollection.) |
|
FindByName |
Returns NamedCollectionItem with specified name.
(Inherited from NamedCollection.) |
|
GetByIndex |
For internal use.
(Inherited from OwnedCollection.) |
|
GetEnumerator |
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.) |
|
GetItemType |
Gets the type of collection elements.
(Overrides NamedCollection..::..GetItemType()()()().) |
|
IndexOf |
Searches for the specified Object and returns the zero-based index
of the first occurrence within the entire collection.
(Inherited from OwnedCollection.) |
|
IndexOfName |
Returns the 0-based index of a NamedCollectionItem
with specified name in the current NamedCollection.
(Inherited from NamedCollection.) |
|
InsertInt |
For internal use.
(Inherited from OwnedCollection.) |
|
OnClear |
Called when the collection is about to be cleared.
(Inherited from OwnedCollection.) |
|
OnClearComplete |
Called after the collection has been cleared.
(Inherited from NamedCollection.) |
|
OnInsert |
Called when an item is about to be iserted.
(Inherited from NamedCollection.) |
|
OnInsertComplete |
Called after an item has been inserted.
(Inherited from OwnedCollection.) |
|
OnRemove |
Called when an item is about to be removed.
(Inherited from OwnedCollection.) |
|
OnRemoveComplete |
Called after an item has been removed.
(Inherited from NamedCollection.) |
|
OnSet |
Called when an item is about to be set.
(Inherited from NamedCollection.) |
|
OnSetComplete |
Called after an item has been set.
(Inherited from NamedCollection.) |
|
OnValidate |
Performs additional custom processes when validating a value.
(Inherited from CollectionBase.) |
|
RemoveAt |
Removes the element at the specified index of the CollectionBase instance. This method is not overridable.
(Inherited from CollectionBase.) |
|
RemoveInt |
For internal use.
(Inherited from OwnedCollection.) |
|
SetByIndex |
For internal use.
(Inherited from OwnedCollection.) |
Properties
Name | Description | |
---|---|---|
Capacity |
Gets or sets the number of elements that the CollectionBase can contain.
(Inherited from CollectionBase.) |
|
Count |
Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden.
(Inherited from CollectionBase.) |
|
InnerList |
Gets an ArrayList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase.) |
|
Item |
Gets or sets the Class at the specified index.
|
|
List |
Gets an IList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase.) |
|
Owner |
Gets the owner of collection.
(Inherited from OwnedCollection.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IList..::..Add |
Adds an object to the end of the CollectionBase.
(Inherited from CollectionBase.) |
|
IList..::..Contains |
Determines whether the CollectionBase contains a specific element.
(Inherited from CollectionBase.) |
|
ICollection..::..CopyTo |
Copies the entire CollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionBase.) |
|
IList..::..IndexOf |
Searches for the specified Object and returns the zero-based index of the first occurrence within the entire CollectionBase.
(Inherited from CollectionBase.) |
|
IList..::..Insert |
Inserts an element into the CollectionBase at the specified index.
(Inherited from CollectionBase.) |
|
IList..::..IsFixedSize |
Gets a value indicating whether the CollectionBase has a fixed size.
(Inherited from CollectionBase.) |
|
IList..::..IsReadOnly |
Gets a value indicating whether the CollectionBase is read-only.
(Inherited from CollectionBase.) |
|
ICollection..::..IsSynchronized |
Gets a value indicating whether access to the CollectionBase is synchronized (thread safe).
(Inherited from CollectionBase.) |
|
IList..::..Item |
Gets or sets the element at the specified index.
(Inherited from CollectionBase.) |
|
IList..::..Remove |
Removes the first occurrence of a specific object from the CollectionBase.
(Inherited from CollectionBase.) |
|
ICollection..::..SyncRoot |
Gets an object that can be used to synchronize access to the CollectionBase.
(Inherited from CollectionBase.) |