Condividi tramite


Metodo StructuralObject.SetValidValue (Nullable<Double>)

[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]

Assicura che il valore Double impostato per una proprietà sia valido.

Spazio dei nomi:  System.Data.Entity.Core.Objects.DataClasses
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
Protected Friend Shared Function SetValidValue ( _
    value As Nullable(Of Double) _
) As Nullable(Of Double)
'Utilizzo
Dim value As Nullable(Of Double)
Dim returnValue As Nullable(Of Double)

returnValue = StructuralObject.SetValidValue(value)
protected internal static Nullable<double> SetValidValue(
    Nullable<double> value
)
protected public:
static Nullable<double> SetValidValue(
    Nullable<double> value
)
static member SetValidValue : 
        value:Nullable<float> -> Nullable<float> 
static function SetValidValue(
    value : Nullable<double>
) : Nullable<double>

Parametri

Valore restituito

Tipo: System.Nullable<Double>
Valore Double che ammette i valori Null che viene impostato.

Vedere anche

Riferimento

StructuralObject Classe

Overload SetValidValue

Spazio dei nomi System.Data.Entity.Core.Objects.DataClasses