Share via


ContactCollection.AddNew Method

3/29/2010

Creates a new Contact item, and adds it to the Contact collection.

Namespace: Microsoft.WindowsMobile.PocketOutlook
Assembly: Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)

Syntax

public Contact AddNew ()
'Declaration
Public Function AddNew As Contact

Remarks

A NotSupportedException will be thrown by the base class if AllowNew is false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

ContactCollection Class
ContactCollection Members
Microsoft.WindowsMobile.PocketOutlook Namespace