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






name
The unique Name value.

Glossary Item Box

Creates a new Holiday object in the collection and initializes its Name value.

Syntax

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

Parameters

name
The unique Name value.

Return Value

The index of the newly-added Holiday object within the collection.

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.