Export (0) Print
Expand All
Expand Minimize

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

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft