dbicCalendar Send comments on this topic.
IndexOf Method
See Also 
dbicPIM Assembly > Dbi.PIM Namespace > DaysWeekendCollection Class : IndexOf Method

item
A System.DateTime.DayOfWeek member to locate in the collection.
Returns the index of a specified item within the collection.

Syntax

Visual Basic (Declaration) 
Public Function IndexOf( _
   ByVal item As DayOfWeek _
) As Integer
C# 
public int IndexOf( 
   DayOfWeek item
)

Parameters

item
A System.DateTime.DayOfWeek member to locate in the collection.

Return Value

An Integer value representing the index of a specific item in the collection.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also