MessagePartCollection Members
.NET Framework 2.0
Represents a collection of instances of the MessagePart class. This class cannot be inherited.
The following tables list the members exposed by the MessagePartCollection type.
(see also
Protected Properties
)
Top
| 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) |
| Item | Overloaded. Gets or sets the value of a MessagePart specified by the parameter passed in. |
| Name | Description | |
|---|---|---|
| InnerList | Gets an ArrayList containing the list of elements in the CollectionBase instance.(inherited from CollectionBase) |
| List | Gets an IList containing the list of elements in the CollectionBase instance.(inherited from CollectionBase) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Add | Adds the specified MessagePart to the end of the MessagePartCollection. |
| Clear | Removes all objects from the CollectionBase instance. This method cannot be overridden. (inherited from CollectionBase) |
| Contains | Returns a value indicating whether the specified MessagePart is a member of the MessagePartCollection. |
| CopyTo | Copies the entire MessagePartCollection to a compatible one-dimensional array of type MessagePart, starting at the specified zero-based index of the target array. |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| GetEnumerator | Returns an enumerator that iterates through the CollectionBase instance. (inherited from CollectionBase) |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| IndexOf | Searches for the specified MessagePart and returns the zero-based index of the first occurrence within the collection. |
| Insert | Adds the specified MessagePart to the MessagePartCollection at the specified zero-based index. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| Remove | Removes the first occurrence of the specified MessagePart from the MessagePartCollection. |
| RemoveAt | Removes the element at the specified index of the CollectionBase instance. This method is not overridable. (inherited from CollectionBase) |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
| OnClear | Performs additional custom processes when clearing the contents of the CollectionBase instance. (inherited from CollectionBase) |
| OnClearComplete | Performs additional custom processes after clearing the contents of the CollectionBase instance. (inherited from CollectionBase) |
| OnInsert | Performs additional custom processes before inserting a new element into the CollectionBase instance. (inherited from CollectionBase) |
| OnInsertComplete | Performs additional custom processes after inserting a new element into the CollectionBase instance. (inherited from CollectionBase) |
| OnRemove | Performs additional custom processes when removing an element from the CollectionBase instance. (inherited from CollectionBase) |
| OnRemoveComplete | Performs additional custom processes after removing an element from the CollectionBase instance. (inherited from CollectionBase) |
| OnSet | Performs additional custom processes before setting a value in the CollectionBase instance. (inherited from CollectionBase) |
| OnSetComplete | Performs additional custom processes after setting a value in the CollectionBase instance. (inherited from CollectionBase) |
| OnValidate | Performs additional custom processes when validating a value. (inherited from CollectionBase) |
Community Additions
ADD
Show: