Gets or sets the element at the specified index.
Syntax
Visual Basic (Declaration) | |
---|
Public Default Property Item( _
ByVal index As System.Integer _
) As Holiday |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As HolidayCollection
Dim index As System.Integer
Dim value As Holiday
instance.Item(index) = value
value = instance.Item(index) |
Delphi | |
---|
public this: : Holiday;[
index: System.Integer
]; read-write |
Parameters
- index
- The zero-based index of the entry to get or set.
Property Value
The
Holiday
object at the specified index.
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