StructuralObject.SetValidValue Method (TimeSpan)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 TimeSpan SetValidValue(
	TimeSpan value
)

Parameters

value
Type: System.TimeSpan

The TimeSpan value.

Return Value

Type: System.TimeSpan

The TimeSpan value being set.

.NET Framework
Available since 3.5
Return to top
Show: