Intersoft WebInput Documentation
Add(Holiday) Method
See Also  Send Feedback
ISNet.WebUI.WebControls Namespace > HolidayCollection Class > Add Method : Add(Holiday) Method






holiday
The Holiday object to be added.

Glossary Item Box

Add an Holiday object into the Holiday collection.

Syntax

Visual Basic (Declaration) 
Public Overloads Overridable Function Add( _
   ByVal holiday As Holiday _
) As System.Integer
Visual Basic (Usage)Copy Code
Dim instance As HolidayCollection
Dim holiday As Holiday
Dim value As System.Integer
 
value = instance.Add(holiday)
C# 
public virtual System.int Add( 
   Holiday holiday
)
Delphi 
public function Add( 
    holiday: Holiday
): System.Integer; virtual; 
JScript 
public function Add( 
   holiday : Holiday
) : System.int;
Managed Extensions for C++ 
public: virtual System.int Add( 
   Holiday* holiday
) 
C++/CLI 
public:
virtual System.int Add( 
   Holiday^ holiday
) 

Parameters

holiday
The Holiday object to be added.

Return Value

The index of the newly added Holiday.

Requirements

Target Platforms: 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

© 2013 Intersoft Solutions Corp. All Rights Reserved.