 | DateTimeExtensionsIsAfter Method |
Namespace: Ignition.Utility.ExtensionsAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntaxpublic static bool IsAfter(
this DateTime dateToCheck,
DateTime? startDate,
DatePresentExpectation startDateExpectation = DatePresentExpectation.MayBeUnspecified
)
<ExtensionAttribute>
Public Shared Function IsAfter (
dateToCheck As DateTime,
startDate As DateTime?,
Optional startDateExpectation As DatePresentExpectation = DatePresentExpectation.MayBeUnspecified
) As Boolean
public:
[ExtensionAttribute]
static bool IsAfter(
DateTime dateToCheck,
Nullable<DateTime> startDate,
DatePresentExpectation startDateExpectation = DatePresentExpectation::MayBeUnspecified
)
[<ExtensionAttribute>]
static member IsAfter :
dateToCheck : DateTime *
startDate : Nullable<DateTime> *
?startDateExpectation : DatePresentExpectation
(* Defaults:
let _startDateExpectation = defaultArg startDateExpectation DatePresentExpectation.MayBeUnspecified
*)
-> bool Parameters
- dateToCheck DateTime
-
- startDate NullableDateTime
-
- startDateExpectation DatePresentExpectation (Optional)
-
Return Value
BooleanUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DateTime. 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).
See Also