London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class HashtableExtensions

This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Inheritance
System.Object
HashtableExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Data.Provider.Internal.Extensions
Assembly: Mediachase.DataProvider.dll
Version: 13.30.0
Syntax
public static class HashtableExtensions

Methods

GetDateTimeUtc(Hashtable, String)

This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Gets a hashtable value as a DateTime with DateTimeKind.Utc by specifying the kind or converting if the kind is specified.

Declaration
public static DateTime? GetDateTimeUtc(this Hashtable hashTable, string key)
Parameters
Type Name Description
System.Collections.Hashtable hashTable

The hashtable.

System.String key

The key to read.

Returns
Type Description
System.Nullable<System.DateTime>

The DateTime value, or null if the column value was null or DBNull.