# MTCalendarHoliday

The object that represents a holiday for a given MTCalendar object.

## Program ID

Metratech.MTCalendarHoliday.1

## Methods

None.

## Properties

Date | This property can be parsed into Day, Month, and Year properties.
Day | Day of the month that this holiday falls on.
Name | The name set for this calendar.
Month | The month that the holiday falls on.
Year | The year that the holiday falls on.

# Method Detail

None.

# Property Detail

## Date

This property can be parsed into Day, Month, and Year properties.

### Visual Basic Syntax

Property Date As Date

### C++ Syntax

HRESULT Date([out, retval] DATE *pVal);

HRESULT Date([in] DATE newVal);

## Day

Day of the month that this holiday falls on.

### Visual Basic Syntax

Property Day As Long

### C++ Syntax

HRESULT Day([out, retval] long *pVal);

HRESULT Day([in] long newVal);

##

## WeekofMonth

The name set for this calendar.

### Visual Basic Syntax

Property WeekofMonth As Long

### C++ Syntax

HRESULT WeekofMonth([out, retval] long *pVal);

HRESULT WeekofMonth([in] long newVal);

## Name

The name set for this calendar.

### Visual Basic Syntax

Property Name As String

### C++ Syntax

HRESULT Name([out, retval] BSTR *pVal);

HRESULT Name([in] BSTR newVal);

## Month

The month that the holiday falls on.

### Visual Basic Syntax

Property Month As Long

### C++ Syntax

HRESULT Month([out, retval] long *pVal);

HRESULT Month([in] long newVal);

## Year

The year that the holiday falls on.

### Visual Basic Syntax

Property Year As Long

### C++ Syntax

HRESULT Year([out, retval] long *pVal);

HRESULT Year([in] long newVal);

##