Rfc 2822 3.4 Address class. This class is base class for MailboxAddress and GroupAddress.
Exemplo n.º 1
0
		/// <summary>
		/// Inserts a new address into the collection at the specified location.
		/// </summary>
		/// <param name="index">The location in the collection where you want to add the address.</param>
		/// <param name="address">Address to add.</param>
		public void Insert(int index,Address address)
		{
			address.Owner = this;
			m_pAddresses.Insert(index,address);
	
			OnCollectionChanged();
		}
Exemplo n.º 2
0
		/// <summary>
		/// Removes specified address from the collection.
		/// </summary>
		/// <param name="address">Address to remove.</param>
		public void Remove(Address address)
		{
			address.Owner = null;
			m_pAddresses.Remove(address);
		
			OnCollectionChanged();
		}
Exemplo n.º 3
0
		/// <summary>
		/// Adds a new address to the end of the collection.
		/// </summary>
		/// <param name="address">Address to add.</param>
		public void Add(Address address)
		{
			address.Owner = this;
			m_pAddresses.Add(address);
		
			OnCollectionChanged();
		}