This document is archived and information here might be outdated.  Recommended version.


ITime2.WeekOfMonth Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITime2 Interface > ITime2.WeekOfMonth Property
ArcGIS Developer Help

ITime2.WeekOfMonth Property

The week number of the month, starting with 1 for the first week of the month. Use startDayOfWeek = 1 to specify that weeks start on Sunday, and 2 on Monday.

[Visual Basic .NET]
Public Function get_WeekOfMonth ( _
    ByVal startDayOfWeek As Short _
) As Short
[C#]
public short get_WeekOfMonth (
    short startDayOfWeek
);
[C++]
HRESULT get_WeekOfMonth(
  short startDayOfWeek,
  System.Int16* weekNumber
);
[C++]
Parameters
startDayOfWeek [in]

startDayOfWeek is a parameter of type short weekNumber [out, retval]
weekNumber is a parameter of type short*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ITime2 Interface