Skip to content

MFGS Email Address Collection

MFGSEmailAddressCollection Public interface

Description

Represents a collection of addresses

Diagram

flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph VGWWCoreIEx
VGWWCoreIEx.IExMFGSEmailAddressCollection[[IExMFGSEmailAddressCollection]]
class VGWWCoreIEx.IExMFGSEmailAddressCollection interfaceStyle;
end

Members

Properties

Public properties

TypeNameMethods
intCount
Gets the number of addresses contained in the collection.
get
IExMFGSEmailAddressItemget

Methods

Public methods

ReturnsName
voidAdd(string address, string name)
Add an address to the collection
voidClear()
Clear the address collection.
stringJoin(string separator, MFGSEmailAddressField field)
Concatenates all addresses in the collection into a single string.
voidParseAdd(string addressList)
Add multiple addresses to the collection.
boolRemove(string addressOrName, MFGSEmailAddressField field, bool ignoreCase)
Remove the specified address from the collection.
voidRemoveAt(int index)
Remove the address at the specified index from the collection.

Details

Summary

Represents a collection of addresses

Methods

Clear

public void Clear()
Summary

Clear the address collection.

Join

public string Join(string separator, MFGSEmailAddressField field)
Arguments
TypeNameDescription
stringseparatorThe separator between each address
MFGSEmailAddressFieldfieldThe field of the address to use
Summary

Concatenates all addresses in the collection into a single string.

Returns

Add

public void Add(string address, string name)
Arguments
TypeNameDescription
stringaddressThe address
stringnameThe name
Summary

Add an address to the collection

ParseAdd

public void ParseAdd(string addressList)
Arguments
TypeNameDescription
stringaddressListA semi-colon (;) delimited list of addresses.
Summary

Add multiple addresses to the collection.

Remove

public bool Remove(string addressOrName, MFGSEmailAddressField field, bool ignoreCase)
Arguments
TypeNameDescription
stringaddressOrNameThe name or address to remove.
MFGSEmailAddressFieldfieldThe field to check.
boolignoreCaseDetermine if case should be ignored.
Summary

Remove the specified address from the collection.

Returns

RemoveAt

public void RemoveAt(int index)
Arguments
TypeNameDescription
intindexThe index of the address.
Summary

Remove the address at the specified index from the collection.

Properties

Count

public int Count { get; }
Summary

Gets the number of addresses contained in the collection.

Item

public IExMFGSEmailAddress Item { get; }

Generated with ModularDoc