Click or drag to resize

DateExtensionsIsNullOrEmpty Method

Determines whether a nullable DateTime is null or empty.

Namespace:  Xcalibur.Extensions
Assembly:  Xcalibur.Extensions (in Xcalibur.Extensions.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
public static bool IsNullOrEmpty(
	this Nullable<DateTime> target
)

Parameters

target
Type: SystemNullableDateTime
The target.

Return Value

Type: Boolean
true if [is null or empty] [the specified target]; otherwise, false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type NullableDateTime. 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