Condividi tramite


Metodo StructuralObject.SetValidValue (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 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 UShort _
) As UShort
'Utilizzo
Dim value As UShort 
Dim returnValue As UShort 

returnValue = StructuralObject.SetValidValue(value)
[CLSCompliantAttribute(false)]
protected internal static ushort SetValidValue(
    ushort value
)
[CLSCompliantAttribute(false)]
protected public:
static unsigned short SetValidValue(
    unsigned short value
)
[<CLSCompliantAttribute(false)>]
static member SetValidValue : 
        value:uint16 -> uint16
static function SetValidValue(
    value : ushort
) : ushort

Parametri

Valore restituito

Tipo: System.UInt16
Valore UInt16 che viene impostato.

Vedere anche

Riferimento

StructuralObject Classe

Overload SetValidValue

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