This documentation is archived and is not being maintained.
MessagePartCollection Methods
Visual Studio 2010
The MessagePartCollection type exposes the following members.
| 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(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.) |
|
GetKey | Returns the name of the key associated with the value passed by reference. (Inherited from ServiceDescriptionBaseCollection.) |
|
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. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnClear | Clears the contents of the ServiceDescriptionBaseCollection instance. (Inherited from ServiceDescriptionBaseCollection.) |
|
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 ServiceDescriptionBaseCollection. (Inherited from ServiceDescriptionBaseCollection.) |
|
OnRemove | Removes an element from the ServiceDescriptionBaseCollection. (Inherited from ServiceDescriptionBaseCollection.) |
|
OnRemoveComplete | Performs additional custom processes after removing an element from the CollectionBase instance. (Inherited from CollectionBase.) |
|
OnSet | Replaces one value with another within the ServiceDescriptionBaseCollection. (Inherited from ServiceDescriptionBaseCollection.) |
|
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.) |
|
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.) |
|
SetParent | Sets the parent object of the ServiceDescriptionBaseCollection instance. (Inherited from ServiceDescriptionBaseCollection.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
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::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.) |
|
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::Remove | Removes the first occurrence of a specific object from the CollectionBase. (Inherited from CollectionBase.) |
Show: