[This is preliminary documentation and is subject to change.]
Namespace: NFX.TimeAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static bool Contains(
this DaysOfWeek set,
DayOfWeek day
)
public static bool Contains(
this DaysOfWeek set,
DayOfWeek day
)
<ExtensionAttribute>
Public Shared Function Contains (
set As DaysOfWeek,
day As DayOfWeek
) As Boolean
<ExtensionAttribute>
Public Shared Function Contains (
set As DaysOfWeek,
day As DayOfWeek
) As Boolean
public:
[ExtensionAttribute]
static bool Contains(
DaysOfWeek set,
DayOfWeek day
)
public:
[ExtensionAttribute]
static bool Contains(
DaysOfWeek set,
DayOfWeek day
)
static member Contains :
set : DaysOfWeek *
day : DayOfWeek -> bool
static member Contains :
set : DaysOfWeek *
day : DayOfWeek -> bool
Return Value
Type:
BooleanUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DaysOfWeek. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).