The FieldCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FieldCollection |
Initializes a new instance of the FieldCollection class.
|
Methods
Name | Description | |
---|---|---|
Add |
Adds a new Field object to the current collection.
|
|
AddInt |
For internal use.
(Inherited from OwnedCollection.) |
|
AssignFrom |
Assigns (copies) properties from another FieldCollection to the current object.
(Overrides OwnedCollection..::..AssignFrom(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.
(Inherited from NamedCollection.) |
|
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.
Sets AutoGenerated property to false.
(Overrides NamedCollection..::..OnClearComplete()()()().) |
|
OnInsert |
Called when an item is about to be iserted.
(Inherited from NamedCollection.) |
|
OnInsertComplete |
Called after an item has been inserted.
Sets AutoGenerated property to false.
(Overrides OwnedCollection..::..OnInsertComplete(Int32, Object).) |
|
OnRemove |
Called when an item is about to be removed.
(Inherited from OwnedCollection.) |
|
OnRemoveComplete |
Called after an item has been removed.
Sets AutoGenerated property to false.
(Overrides NamedCollection..::..OnRemoveComplete(Int32, Object).) |
|
OnSet |
Called when an item is about to be set.
(Inherited from NamedCollection.) |
|
OnSetComplete |
Called after an item has been set.
Sets AutoGenerated property to false.
(Overrides NamedCollection..::..OnSetComplete(Int32, Object, Object).) |
|
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 | |
---|---|---|
AutoGenerated |
Gets a value indicating whether the current collection was created automatically
and was not changed by the user.
|
|
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[([( Int32])]) |
Gets the element at the specified index.
|
|
Item[([( String])]) |
Gets the field with the specified name.
|
|
List |
Gets an IList containing the list of elements in the CollectionBase instance.
(Inherited from CollectionBase.) |
|
Owner |
Gets the owner of the current collection.
|
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.) |