Condividi tramite


Metodo StructuralObject.SetValidValue (UInt64, String)

[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 UInt64 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)> _
<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId := "propertyName")> _
Protected Friend Shared Function SetValidValue ( _
    value As ULong, _
    propertyName As String _
) As ULong
'Utilizzo
Dim value As ULong 
Dim propertyName As String 
Dim returnValue As ULong 

returnValue = StructuralObject.SetValidValue(value, _
    propertyName)
[CLSCompliantAttribute(false)]
[SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "propertyName")]
protected internal static ulong SetValidValue(
    ulong value,
    string propertyName
)
[CLSCompliantAttribute(false)]
[SuppressMessageAttribute(L"Microsoft.Usage", L"CA1801:ReviewUnusedParameters", MessageId = L"propertyName")]
protected public:
static unsigned long long SetValidValue(
    unsigned long long value, 
    String^ propertyName
)
[<CLSCompliantAttribute(false)>]
[<SuppressMessageAttribute("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "propertyName")>]
static member SetValidValue : 
        value:uint64 * 
        propertyName:string -> uint64
static function SetValidValue(
    value : ulong, 
    propertyName : String
) : ulong

Parametri

  • propertyName
    Tipo: System.String
    Nome della proprietà che verrà convalidata.

Valore restituito

Tipo: System.UInt64
Valore UInt64 che viene impostato.

Vedere anche

Riferimento

StructuralObject Classe

Overload SetValidValue

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