Intersoft ClientUI Documentation
AddBlackoutEvent Method
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXInput Namespace > UXCalendarEventsCollection Class : AddBlackoutEvent Method






startDate
the start date of the event.
endDate
the end date of the event.
Create new blackout event.

Syntax

Visual Basic (Declaration) 
Public Sub AddBlackoutEvent( _
   ByVal startDate As Date, _
   ByVal endDate As Nullable(Of Date) _
) 
Visual Basic (Usage)Copy Code
Dim instance As UXCalendarEventsCollection
Dim startDate As Date
Dim endDate As Nullable(Of Date)
 
instance.AddBlackoutEvent(startDate, endDate)
C# 
public void AddBlackoutEvent( 
   DateTime startDate,
   Nullable<DateTime> endDate
)
Delphi 
public procedure AddBlackoutEvent( 
    startDate: DateTime;
    endDate: Nullable
); 
JScript 
public function AddBlackoutEvent( 
   startDate : DateTime,
   endDate : Nullable
);
Managed Extensions for C++ 
public: void AddBlackoutEvent( 
   DateTime startDate,
   Nullable<DateTime> endDate
) 
C++/CLI 
public:
void AddBlackoutEvent( 
   DateTime startDate,
   Nullable<DateTime> endDate
) 

Parameters

startDate
the start date of the event.
endDate
the end date of the event.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.