Condividi tramite


Metodo StructuralObject.SetValidValue (Nullable<UInt32>)

[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 UInt32 che verrà impostato per una proprietà sia valido.

Questa API non è conforme a CLS. 

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

Sintassi

'Dichiarazione
<CLSCompliantAttribute(False)> _
Protected Friend Shared Function SetValidValue ( _
    value As Nullable(Of UInteger) _
) As Nullable(Of UInteger)
'Utilizzo
Dim value As Nullable(Of UInteger)
Dim returnValue As Nullable(Of UInteger)

returnValue = StructuralObject.SetValidValue(value)
[CLSCompliantAttribute(false)]
protected internal static Nullable<uint> SetValidValue(
    Nullable<uint> value
)
[CLSCompliantAttribute(false)]
protected public:
static Nullable<unsigned int> SetValidValue(
    Nullable<unsigned int> value
)
[<CLSCompliantAttribute(false)>]
static member SetValidValue : 
        value:Nullable<uint32> -> Nullable<uint32> 
static function SetValidValue(
    value : Nullable<uint>
) : Nullable<uint>

Parametri

Valore restituito

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

Vedere anche

Riferimento

StructuralObject Classe

Overload SetValidValue

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