Metodo StructuralObject.SetValidValue (Nullable<UInt16>)
[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 UInt16 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 UShort) _
) As Nullable(Of UShort)
'Utilizzo
Dim value As Nullable(Of UShort)
Dim returnValue As Nullable(Of UShort)
returnValue = StructuralObject.SetValidValue(value)
[CLSCompliantAttribute(false)]
protected internal static Nullable<ushort> SetValidValue(
Nullable<ushort> value
)
[CLSCompliantAttribute(false)]
protected public:
static Nullable<unsigned short> SetValidValue(
Nullable<unsigned short> value
)
[<CLSCompliantAttribute(false)>]
static member SetValidValue :
value:Nullable<uint16> -> Nullable<uint16>
static function SetValidValue(
value : Nullable<ushort>
) : Nullable<ushort>
Parametri
- value
Tipo: System.Nullable<UInt16>
Valore UInt16 che ammette i valori Null.
Valore restituito
Tipo: System.Nullable<UInt16>
Valore UInt16 che ammette i valori Null che viene impostato.