Metodo StructuralObject.SetValidValue (Int16)
[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 Int16 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 Short _
) As Short
'Utilizzo
Dim value As Short
Dim returnValue As Short
returnValue = StructuralObject.SetValidValue(value)
protected internal static short SetValidValue(
short value
)
protected public:
static short SetValidValue(
short value
)
static member SetValidValue :
value:int16 -> int16
static function SetValidValue(
value : short
) : short
Parametri
- value
Tipo: System.Int16
Valore Int16.
Valore restituito
Tipo: System.Int16
Valore Int16 che viene impostato.