ContactCollectionAdd(ValueTupleString, String) Method

Add one or more contacts using a simple tuple approach.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public List<ContactItem> Add(
	params (string , string )[] entries
)

Parameters

entries  ValueTupleString, String
One or more displayName, emailAddress tuples.

Return Value

ListContactItem
Reference to a list of items that have been added to the collection.

Remarks

To use this method, call it similarly to:
C#
project.Contacts.Add(
            ("Pickle Featherstone", 
            "pickle.featherstone@quirkymail.com"),
            ("Sassy Bumbleshoe", 
            "sassy.bumbleshoe@buzzmail.io"));

See Also