StructuralObject.SetValidValue Method (Nullable<TimeSpan>)

 

Makes sure the TimeSpan value being set for a property is valid.

Namespace:   System.Data.Objects.DataClasses
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

protected internal static Nullable<TimeSpan> SetValidValue(
	Nullable<TimeSpan> value
)

Parameters

value
Type: System.Nullable<TimeSpan>

The nullable TimeSpan value.

Return Value

Type: System.Nullable<TimeSpan>

The nullable TimeSpan value being set.

.NET Framework
Available since 3.5
Return to top
Show: