The FieldCollection type exposes the following members.

Constructors

  Name Description
Public method FieldCollection
Initializes a new instance of the FieldCollection class.

Methods

  Name Description
Public method Add
Adds a new Field object to the current collection.
Public method AssignFrom
Assigns (copies) properties from another FieldCollection to the current object.
(Overrides OwnedCollection..::..AssignFrom(OwnedCollection).)
Public method Clear
Removes all objects from the CollectionBase instance. This method cannot be overridden.
(Inherited from CollectionBase.)
Public method Exchange
Swap two items in collection.
(Inherited from OwnedCollection.)
Public method FindByName
Returns NamedCollectionItem with specified name.
(Inherited from NamedCollection.)
Public method GetEnumerator
Returns an enumerator that iterates through the CollectionBase instance.
(Inherited from CollectionBase.)
Public method IndexOf
Searches for the specified Object and returns the zero-based index of the first occurrence within the entire collection.
(Inherited from OwnedCollection.)
Public method IndexOfName
Returns the 0-based index of a NamedCollectionItem with specified name in the current NamedCollection.
(Inherited from NamedCollection.)
Public method RemoveAt
Removes the element at the specified index of the CollectionBase instance. This method is not overridable.
(Inherited from CollectionBase.)

Properties

  Name Description
Public property AutoGenerated
Gets a value indicating whether the current collection was created automatically and was not changed by the user.
Public property Capacity
Gets or sets the number of elements that the CollectionBase can contain.
(Inherited from CollectionBase.)
Public property Count
Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden.
(Inherited from CollectionBase.)
Public property Item[([( Int32])])
Gets the element at the specified index.
Public property Item[([( String])])
Gets the field with the specified name.
Public property Owner
Gets the owner of the current collection.

See Also