Click or drag to resize

DateTimeExtensionsToUnspecifiedKind Method

Returns a DateTime as Unspecified regardless of the Kind value of the structure.

Namespace: InnerDrive.Core
Assembly: InnerDrive.Core (in InnerDrive.Core.dll) Version: 5.0.8475.0
Syntax
C#
public static DateTime ToUnspecifiedKind(
	this DateTime dateTime
)

Parameters

dateTime  DateTime
This DateTime.

Return Value

DateTime
A DateTime with the same value as dateTime whose Kind is Unspecified.

Usage 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