Export (0) Print
Expand All
Expand Minimize

StructuralObject.SetValidValue Method (Nullable<Single>, String)

.NET Framework 4.5

Makes sure the Single 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<float> SetValidValue(
	Nullable<float> value,
	string propertyName
)

Parameters

value
Type: System.Nullable<Single>

The nullable Single value.

propertyName
Type: System.String

The name of the property that is being validated.

Return Value

Type: System.Nullable<Single>
The nullable Single value being set.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft