/// <summary> /// Removes the first occurrence of a /// specific MessageHeader from the MessageHeaderCollection. /// </summary> /// <param name="MessageHeader">The object to remove from the MessageHeaderCollection</param> public void Remove( MessageHeader MessageHeader ) { List.Remove( MessageHeader ); }
/// <summary> /// Returns the zero-based index of the first occurrence of a /// value in the MessageHeaderCollection or in a portion of it. /// </summary> /// <param name="value">The Object to locate in the MessageHeaderCollection. The value /// can be a null reference (Nothing in Visual Basic). </param> /// <returns></returns> public int IndexOf( MessageHeader value ) { return( List.IndexOf( value ) ); }
/// <summary> /// Inserts an element into the MessageHeaderCollection at /// the specified index. /// </summary> /// <param name="index">The zero-based index at which value should be inserted</param> /// <param name="MessageHeader">The MessageHeader to insert. /// The value can be a null reference (Nothing in Visual Basic). </param> public void Insert( int index, MessageHeader MessageHeader ) { List.Insert( index, MessageHeader ); }
/// <summary> /// Adds an object to the end of the MessageHeaderCollection /// </summary> /// <param name="MessageHeader">The Object to be added to the end of the MessageHeaderCollection. /// The value can be a null reference (Nothing in Visual Basic). </param> /// <returns>The MessageHeaderCollection index at which the value has been added.</returns> public int Add( MessageHeader MessageHeader ) { return( List.Add( MessageHeader ) ); }