Property indexer for the collection. Uses the Name string to return an Holiday object.
Syntax
Visual Basic (Declaration) | |
---|
Public Function GetNamedItem( _
ByVal name As System.String _
) As Holiday |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As HolidayCollection
Dim name As System.String
Dim value As Holiday
value = instance.GetNamedItem(name) |
Delphi | |
---|
public function GetNamedItem(
name: System.String
): Holiday; |
JScript | |
---|
public function GetNamedItem(
name : System.String
) : Holiday; |
Managed Extensions for C++ | |
---|
public: Holiday* GetNamedItem(
System.string* name
) |
C++/CLI | |
---|
public:
Holiday^ GetNamedItem(
System.String^ name
) |
Parameters
- name
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