Version

Add(DateTime) Method

Adds a new CalendarDateSettings instance to this collection for the specified date.
Syntax
'Declaration
 
Public Overloads Function Add( _
   ByVal date As Date _
) As CalendarDateSettings
public CalendarDateSettings Add( 
   DateTime date
)

Parameters

date
The date with which this instance is associated.

Return Value

The resulting CalendarDateSettings instance.
Exceptions
ExceptionDescription
System.ExceptionThrown if a member with the specified date already exists in the collection.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also