IsDefined Method (Holiday)
In This Topic
Gets a value indicating whether the specified date is a
Holiday.
Syntax
'Declaration
Public Overrides Function IsDefined( _
ByVal As Date _
) As Boolean
'Usage
Dim instance As Holiday
Dim dateTime As Date
Dim value As Boolean
value = instance.IsDefined(dateTime)
public override bool IsDefined(
DateTime
)
Parameters
- dateTime
- A System.DateTime value indicates the date.
Return Value
true if the date is a
Holiday; otherwise,
false.
See Also