StructuralObject.SetValidValue Metodo

Definizione

Garantisce che il valore impostato per una proprietà sia valido.

Overload

SetValidValue(Nullable<Int16>, String)

Garantisce che il valore Int16 impostato per una proprietà sia valido.

SetValidValue(Nullable<Guid>, String)

Garantisce che il valore Guid impostato per una proprietà sia valido.

SetValidValue(Nullable<Double>, String)

Garantisce che il valore Double impostato per una proprietà sia valido.

SetValidValue(Nullable<Decimal>, String)

Garantisce che il valore Decimal impostato per una proprietà sia valido.

SetValidValue(Nullable<DateTimeOffset>, String)

Garantisce che il valore DateTimeOffset impostato per una proprietà sia valido.

SetValidValue(Nullable<DateTime>, String)

Garantisce che il valore DateTime impostato per una proprietà sia valido.

SetValidValue(Nullable<Byte>, String)

Garantisce che il valore Byte impostato per una proprietà sia valido.

SetValidValue(Double, String)

Garantisce che il valore Double impostato per una proprietà sia valido.

SetValidValue(Int64, String)

Garantisce che il valore Int64 impostato per una proprietà sia valido.

SetValidValue(Int32, String)

Garantisce che il valore Int32 impostato per una proprietà sia valido.

SetValidValue(Int16, String)

Garantisce che il valore Int16 impostato per una proprietà sia valido.

SetValidValue(Guid, String)

Garantisce che il valore Guid impostato per una proprietà sia valido.

SetValidValue(Nullable<Int32>, String)

Garantisce che il valore Int32 impostato per una proprietà sia valido.

SetValidValue(Decimal, String)

Garantisce che il valore Decimal impostato per una proprietà sia valido.

SetValidValue(DateTimeOffset, String)

Garantisce che il valore DateTimeOffset impostato per una proprietà sia valido.

SetValidValue(Nullable<Boolean>, String)

Garantisce che il valore Boolean impostato per una proprietà sia valido.

SetValidValue(Nullable<Int64>, String)

Garantisce che il valore Int64 impostato per una proprietà sia valido.

SetValidValue(Nullable<UInt64>, String)

Garantisce che il valore UInt64 impostato per una proprietà sia valido.

SetValidValue(Nullable<Single>, String)

Garantisce che il valore Single impostato per una proprietà sia valido.

SetValidValue(String, Boolean, String)

Convalida che la proprietà non è null e genera un'eccezione in caso affermativo.

SetValidValue(DbGeometry, Boolean, String)

Convalida che la proprietà non è null e genera un'eccezione in caso affermativo.

SetValidValue(DbGeography, Boolean, String)

Convalida che la proprietà non è null e genera un'eccezione in caso affermativo.

SetValidValue(Byte[], Boolean, String)

Garantisce che il valore matrice Byte impostato per una proprietà sia valido.

SetValidValue(UInt64, String)

Garantisce che il valore UInt64 impostato per una proprietà sia valido.

SetValidValue(UInt32, String)

Garantisce che il valore UInt32 impostato per una proprietà sia valido.

SetValidValue(UInt16, String)

Garantisce che il valore UInt16 impostato per una proprietà sia valido.

SetValidValue(TimeSpan, String)

Garantisce che il valore TimeSpan impostato per una proprietà sia valido.

SetValidValue(String, Boolean)

Convalida che la proprietà non è null e genera un'eccezione in caso affermativo.

SetValidValue(Single, String)

Garantisce che il valore Single impostato per una proprietà sia valido.

SetValidValue(SByte, String)

Garantisce che il valore SByte impostato per una proprietà sia valido.

SetValidValue(DateTime, String)

Garantisce che il valore DateTime impostato per una proprietà sia valido.

SetValidValue(Nullable<UInt32>, String)

Garantisce che il valore UInt32 impostato per una proprietà sia valido.

SetValidValue(Nullable<UInt16>, String)

Garantisce che il valore UInt16 impostato per una proprietà sia valido.

SetValidValue(Nullable<TimeSpan>, String)

Garantisce che il valore TimeSpan impostato per una proprietà sia valido.

SetValidValue(Nullable<SByte>, String)

Garantisce che il valore SByte impostato per una proprietà sia valido.

SetValidValue(DbGeometry, Boolean)

Convalida che la proprietà non è null e genera un'eccezione in caso affermativo.

SetValidValue(UInt32)

Garantisce che il valore UInt32 impostato per una proprietà sia valido.

SetValidValue(Byte[], Boolean)

Garantisce che il valore matrice di byte impostato per una proprietà sia valido.

SetValidValue(Nullable<Decimal>)

Garantisce che il valore Decimal impostato per una proprietà sia valido.

SetValidValue(Nullable<DateTimeOffset>)

Garantisce che il valore DateTimeOffset impostato per una proprietà sia valido.

SetValidValue(Nullable<DateTime>)

Garantisce che il valore DateTime impostato per una proprietà sia valido.

SetValidValue(Nullable<Byte>)

Garantisce che il valore Byte impostato per una proprietà sia valido.

SetValidValue(Nullable<Boolean>)

Garantisce che il valore Boolean impostato per una proprietà sia valido.

SetValidValue(Int64)

Garantisce che il valore Int64 impostato per una proprietà sia valido.

SetValidValue(Int32)

Garantisce che il valore Int32 impostato per una proprietà sia valido.

SetValidValue(Int16)

Garantisce che il valore Int16 impostato per una proprietà sia valido.

SetValidValue(Guid)

Garantisce che il valore Guid impostato per una proprietà sia valido.

SetValidValue(Double)

Garantisce che il valore Double impostato per una proprietà sia valido.

SetValidValue(Decimal)

Garantisce che il valore Decimal impostato per una proprietà sia valido.

SetValidValue(DateTimeOffset)

Garantisce che il valore DateTimeOffset impostato per una proprietà sia valido.

SetValidValue(DateTime)

Garantisce che il valore DateTime impostato per una proprietà sia valido.

SetValidValue(Byte)

Garantisce che il valore Byte impostato per una proprietà sia valido.

SetValidValue(Boolean)

Garantisce che il valore Boolean impostato per una proprietà sia valido.

SetValidValue(Nullable<Double>)

Garantisce che il valore Double impostato per una proprietà sia valido.

SetValidValue(DbGeography, Boolean)

Convalida che la proprietà non è null e genera un'eccezione in caso affermativo.

SetValidValue(Nullable<Guid>)

Garantisce che il valore Guid impostato per una proprietà sia valido.

SetValidValue(Nullable<Int32>)

Garantisce che il valore Int32 impostato per una proprietà sia valido.

SetValidValue(Byte, String)

Garantisce che il valore Byte impostato per una proprietà sia valido.

SetValidValue(Boolean, String)

Garantisce che il valore Boolean impostato per una proprietà sia valido.

SetValidValue(UInt64)

Garantisce che il valore UInt64 impostato per una proprietà sia valido.

SetValidValue(UInt16)

Garantisce che il valore UInt16 impostato per una proprietà sia valido.

SetValidValue(TimeSpan)

Garantisce che il valore TimeSpan impostato per una proprietà sia valido.

SetValidValue(Single)

Garantisce che il valore Single impostato per una proprietà sia valido.

SetValidValue(Nullable<Int16>)

Garantisce che il valore Int16 impostato per una proprietà sia valido.

SetValidValue(SByte)

Garantisce che il valore SByte impostato per una proprietà sia valido.

SetValidValue(Nullable<UInt32>)

Garantisce che il valore UInt32 impostato per una proprietà sia valido.

SetValidValue(Nullable<UInt16>)

Garantisce che il valore UInt16 impostato per una proprietà sia valido.

SetValidValue(Nullable<TimeSpan>)

Garantisce che il valore TimeSpan impostato per una proprietà sia valido.

SetValidValue(Nullable<Single>)

Garantisce che il valore Single impostato per una proprietà sia valido.

SetValidValue(Nullable<SByte>)

Garantisce che il valore SByte impostato per una proprietà sia valido.

SetValidValue(Nullable<Int64>)

Garantisce che il valore Int64 impostato per una proprietà sia valido.

SetValidValue(Nullable<UInt64>)

Garantisce che il valore UInt64 impostato per una proprietà sia valido.

SetValidValue<T>(T, T, String)

Imposta un oggetto complesso per la proprietà specificata.

SetValidValue(Nullable<Int16>, String)

Garantisce che il valore Int16 impostato per una proprietà sia valido.

protected public:
 static Nullable<short> SetValidValue(Nullable<short> value, System::String ^ propertyName);
protected internal static short? SetValidValue (short? value, string propertyName);
static member SetValidValue : Nullable<int16> * string -> Nullable<int16>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Short), propertyName As String) As Nullable(Of Short)

Parametri

value
Nullable<Int16>

Valore nullable di Int16.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Valore nullable di Int16 impostato.

Si applica a

SetValidValue(Nullable<Guid>, String)

Garantisce che il valore Guid impostato per una proprietà sia valido.

protected public:
 static Nullable<Guid> SetValidValue(Nullable<Guid> value, System::String ^ propertyName);
protected internal static Guid? SetValidValue (Guid? value, string propertyName);
static member SetValidValue : Nullable<Guid> * string -> Nullable<Guid>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Guid), propertyName As String) As Nullable(Of Guid)

Parametri

value
Nullable<Guid>

Valore nullable di Guid.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Valore nullable di Guid impostato.

Si applica a

SetValidValue(Nullable<Double>, String)

Garantisce che il valore Double impostato per una proprietà sia valido.

protected public:
 static Nullable<double> SetValidValue(Nullable<double> value, System::String ^ propertyName);
protected internal static double? SetValidValue (double? value, string propertyName);
static member SetValidValue : Nullable<double> * string -> Nullable<double>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Double), propertyName As String) As Nullable(Of Double)

Parametri

value
Nullable<Double>

Valore nullable di Double.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Valore nullable di Double impostato.

Si applica a

SetValidValue(Nullable<Decimal>, String)

Garantisce che il valore Decimal impostato per una proprietà sia valido.

protected public:
 static Nullable<System::Decimal> SetValidValue(Nullable<System::Decimal> value, System::String ^ propertyName);
protected internal static decimal? SetValidValue (decimal? value, string propertyName);
static member SetValidValue : Nullable<decimal> * string -> Nullable<decimal>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Decimal), propertyName As String) As Nullable(Of Decimal)

Parametri

value
Nullable<Decimal>

Valore nullable di Decimal.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Valore nullable di Decimal impostato.

Si applica a

SetValidValue(Nullable<DateTimeOffset>, String)

Garantisce che il valore DateTimeOffset impostato per una proprietà sia valido.

protected public:
 static Nullable<DateTimeOffset> SetValidValue(Nullable<DateTimeOffset> value, System::String ^ propertyName);
protected internal static DateTimeOffset? SetValidValue (DateTimeOffset? value, string propertyName);
static member SetValidValue : Nullable<DateTimeOffset> * string -> Nullable<DateTimeOffset>
Protected Friend Shared Function SetValidValue (value As Nullable(Of DateTimeOffset), propertyName As String) As Nullable(Of DateTimeOffset)

Parametri

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore DateTimeOffset in fase di impostazione.

Si applica a

SetValidValue(Nullable<DateTime>, String)

Garantisce che il valore DateTime impostato per una proprietà sia valido.

protected public:
 static Nullable<DateTime> SetValidValue(Nullable<DateTime> value, System::String ^ propertyName);
protected internal static DateTime? SetValidValue (DateTime? value, string propertyName);
static member SetValidValue : Nullable<DateTime> * string -> Nullable<DateTime>
Protected Friend Shared Function SetValidValue (value As Nullable(Of DateTime), propertyName As String) As Nullable(Of DateTime)

Parametri

value
Nullable<DateTime>

Valore nullable di DateTime.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Valore nullable di DateTime impostato.

Si applica a

SetValidValue(Nullable<Byte>, String)

Garantisce che il valore Byte impostato per una proprietà sia valido.

protected public:
 static Nullable<System::Byte> SetValidValue(Nullable<System::Byte> value, System::String ^ propertyName);
protected internal static byte? SetValidValue (byte? value, string propertyName);
static member SetValidValue : Nullable<byte> * string -> Nullable<byte>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Byte), propertyName As String) As Nullable(Of Byte)

Parametri

value
Nullable<Byte>

Valore nullable di Byte.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Valore nullable di Byte impostato.

Si applica a

SetValidValue(Double, String)

Garantisce che il valore Double impostato per una proprietà sia valido.

protected public:
 static double SetValidValue(double value, System::String ^ propertyName);
protected internal static double SetValidValue (double value, string propertyName);
static member SetValidValue : double * string -> double
Protected Friend Shared Function SetValidValue (value As Double, propertyName As String) As Double

Parametri

value
Double

Valore Double.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore Double in fase di impostazione.

Si applica a

SetValidValue(Int64, String)

Garantisce che il valore Int64 impostato per una proprietà sia valido.

protected public:
 static long SetValidValue(long value, System::String ^ propertyName);
protected internal static long SetValidValue (long value, string propertyName);
static member SetValidValue : int64 * string -> int64
Protected Friend Shared Function SetValidValue (value As Long, propertyName As String) As Long

Parametri

value
Int64

Valore Int64.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore Int64 in fase di impostazione.

Si applica a

SetValidValue(Int32, String)

Garantisce che il valore Int32 impostato per una proprietà sia valido.

protected public:
 static int SetValidValue(int value, System::String ^ propertyName);
protected internal static int SetValidValue (int value, string propertyName);
static member SetValidValue : int * string -> int
Protected Friend Shared Function SetValidValue (value As Integer, propertyName As String) As Integer

Parametri

value
Int32

Valore Int32.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore Int32 in fase di impostazione.

Si applica a

SetValidValue(Int16, String)

Garantisce che il valore Int16 impostato per una proprietà sia valido.

protected public:
 static short SetValidValue(short value, System::String ^ propertyName);
protected internal static short SetValidValue (short value, string propertyName);
static member SetValidValue : int16 * string -> int16
Protected Friend Shared Function SetValidValue (value As Short, propertyName As String) As Short

Parametri

value
Int16

Valore Int16.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore Int16 in fase di impostazione.

Si applica a

SetValidValue(Guid, String)

Garantisce che il valore Guid impostato per una proprietà sia valido.

protected public:
 static Guid SetValidValue(Guid value, System::String ^ propertyName);
protected internal static Guid SetValidValue (Guid value, string propertyName);
static member SetValidValue : Guid * string -> Guid
Protected Friend Shared Function SetValidValue (value As Guid, propertyName As String) As Guid

Parametri

value
Guid

Valore Guid.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore Guid in fase di impostazione.

Si applica a

SetValidValue(Nullable<Int32>, String)

Garantisce che il valore Int32 impostato per una proprietà sia valido.

protected public:
 static Nullable<int> SetValidValue(Nullable<int> value, System::String ^ propertyName);
protected internal static int? SetValidValue (int? value, string propertyName);
static member SetValidValue : Nullable<int> * string -> Nullable<int>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Integer), propertyName As String) As Nullable(Of Integer)

Parametri

value
Nullable<Int32>

Valore nullable di Int32.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Valore nullable di Int32 impostato.

Si applica a

SetValidValue(Decimal, String)

Garantisce che il valore Decimal impostato per una proprietà sia valido.

protected public:
 static System::Decimal SetValidValue(System::Decimal value, System::String ^ propertyName);
protected internal static decimal SetValidValue (decimal value, string propertyName);
static member SetValidValue : decimal * string -> decimal
Protected Friend Shared Function SetValidValue (value As Decimal, propertyName As String) As Decimal

Parametri

value
Decimal

Valore Decimal.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore Decimal in fase di impostazione.

Si applica a

SetValidValue(DateTimeOffset, String)

Garantisce che il valore DateTimeOffset impostato per una proprietà sia valido.

protected public:
 static DateTimeOffset SetValidValue(DateTimeOffset value, System::String ^ propertyName);
protected internal static DateTimeOffset SetValidValue (DateTimeOffset value, string propertyName);
static member SetValidValue : DateTimeOffset * string -> DateTimeOffset
Protected Friend Shared Function SetValidValue (value As DateTimeOffset, propertyName As String) As DateTimeOffset

Parametri

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore DateTimeOffset in fase di impostazione.

Si applica a

SetValidValue(Nullable<Boolean>, String)

Garantisce che il valore Boolean impostato per una proprietà sia valido.

protected public:
 static Nullable<bool> SetValidValue(Nullable<bool> value, System::String ^ propertyName);
protected internal static bool? SetValidValue (bool? value, string propertyName);
static member SetValidValue : Nullable<bool> * string -> Nullable<bool>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Boolean), propertyName As String) As Nullable(Of Boolean)

Parametri

value
Nullable<Boolean>

Valore nullable di Boolean.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Valore nullable di Boolean impostato.

Si applica a

SetValidValue(Nullable<Int64>, String)

Garantisce che il valore Int64 impostato per una proprietà sia valido.

protected public:
 static Nullable<long> SetValidValue(Nullable<long> value, System::String ^ propertyName);
protected internal static long? SetValidValue (long? value, string propertyName);
static member SetValidValue : Nullable<int64> * string -> Nullable<int64>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Long), propertyName As String) As Nullable(Of Long)

Parametri

value
Nullable<Int64>

Valore nullable di Int64.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Valore nullable di Int64 impostato.

Si applica a

SetValidValue(Nullable<UInt64>, String)

Importante

Questa API non è conforme a CLS.

Garantisce che il valore UInt64 impostato per una proprietà sia valido.

protected public:
 static Nullable<System::UInt64> SetValidValue(Nullable<System::UInt64> value, System::String ^ propertyName);
[System.CLSCompliant(false)]
protected internal static ulong? SetValidValue (ulong? value, string propertyName);
[<System.CLSCompliant(false)>]
static member SetValidValue : Nullable<uint64> * string -> Nullable<uint64>
Protected Friend Shared Function SetValidValue (value As Nullable(Of ULong), propertyName As String) As Nullable(Of ULong)

Parametri

value
Nullable<UInt64>

Valore nullable UInt64.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Valore nullable UInt64 impostato.

Attributi

Si applica a

SetValidValue(Nullable<Single>, String)

Garantisce che il valore Single impostato per una proprietà sia valido.

protected public:
 static Nullable<float> SetValidValue(Nullable<float> value, System::String ^ propertyName);
protected internal static float? SetValidValue (float? value, string propertyName);
static member SetValidValue : Nullable<single> * string -> Nullable<single>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Single), propertyName As String) As Nullable(Of Single)

Parametri

value
Nullable<Single>

Valore nullable di Single.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Valore nullable di Single impostato.

Si applica a

SetValidValue(String, Boolean, String)

Convalida che la proprietà non è null e genera un'eccezione in caso affermativo.

protected public:
 static System::String ^ SetValidValue(System::String ^ value, bool isNullable, System::String ^ propertyName);
protected internal static string SetValidValue (string value, bool isNullable, string propertyName);
static member SetValidValue : string * bool * string -> string
Protected Friend Shared Function SetValidValue (value As String, isNullable As Boolean, propertyName As String) As String

Parametri

value
String

Valore stringa da controllare.

isNullable
Boolean

Flag che indica se a questa proprietà è consentito essere null.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Proprietà convalidata.

Eccezioni

Il valore della stringa è null per una stringa non nullable.

Si applica a

SetValidValue(DbGeometry, Boolean, String)

Convalida che la proprietà non è null e genera un'eccezione in caso affermativo.

protected public:
 static System::Data::Spatial::DbGeometry ^ SetValidValue(System::Data::Spatial::DbGeometry ^ value, bool isNullable, System::String ^ propertyName);
protected internal static System.Data.Spatial.DbGeometry SetValidValue (System.Data.Spatial.DbGeometry value, bool isNullable, string propertyName);
static member SetValidValue : System.Data.Spatial.DbGeometry * bool * string -> System.Data.Spatial.DbGeometry
Protected Friend Shared Function SetValidValue (value As DbGeometry, isNullable As Boolean, propertyName As String) As DbGeometry

Parametri

value
DbGeometry

Valore DbGeometry da controllare.

isNullable
Boolean

Flag che indica se a questa proprietà è consentito essere null.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore DbGeometry in fase di impostazione.

Eccezioni

Il valore della stringa è null per una proprietà non nullable.

Si applica a

SetValidValue(DbGeography, Boolean, String)

Convalida che la proprietà non è null e genera un'eccezione in caso affermativo.

protected public:
 static System::Data::Spatial::DbGeography ^ SetValidValue(System::Data::Spatial::DbGeography ^ value, bool isNullable, System::String ^ propertyName);
protected internal static System.Data.Spatial.DbGeography SetValidValue (System.Data.Spatial.DbGeography value, bool isNullable, string propertyName);
static member SetValidValue : System.Data.Spatial.DbGeography * bool * string -> System.Data.Spatial.DbGeography
Protected Friend Shared Function SetValidValue (value As DbGeography, isNullable As Boolean, propertyName As String) As DbGeography

Parametri

value
DbGeography

Valore DbGeography da controllare.

isNullable
Boolean

Flag che indica se a questa proprietà è consentito essere null.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore DbGeography in fase di impostazione.

Eccezioni

Il valore della stringa è null per una proprietà non nullable.

Si applica a

SetValidValue(Byte[], Boolean, String)

Garantisce che il valore matrice Byte impostato per una proprietà sia valido.

protected public:
 static cli::array <System::Byte> ^ SetValidValue(cli::array <System::Byte> ^ value, bool isNullable, System::String ^ propertyName);
protected internal static byte[] SetValidValue (byte[] value, bool isNullable, string propertyName);
static member SetValidValue : byte[] * bool * string -> byte[]
Protected Friend Shared Function SetValidValue (value As Byte(), isNullable As Boolean, propertyName As String) As Byte()

Parametri

value
Byte[]

Valore passato al metodo di impostazione della proprietà.

isNullable
Boolean

Flag che indica se a questa proprietà è consentito essere null.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Byte[]

Valore Byte in fase di convalida.

Eccezioni

Se il valore è null per un valore non nullable.

Si applica a

SetValidValue(UInt64, String)

Importante

Questa API non è conforme a CLS.

Garantisce che il valore UInt64 impostato per una proprietà sia valido.

protected public:
 static System::UInt64 SetValidValue(System::UInt64 value, System::String ^ propertyName);
[System.CLSCompliant(false)]
protected internal static ulong SetValidValue (ulong value, string propertyName);
[<System.CLSCompliant(false)>]
static member SetValidValue : uint64 * string -> uint64
Protected Friend Shared Function SetValidValue (value As ULong, propertyName As String) As ULong

Parametri

value
UInt64

Valore UInt64.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore UInt64 in fase di impostazione.

Attributi

Si applica a

SetValidValue(UInt32, String)

Importante

Questa API non è conforme a CLS.

Garantisce che il valore UInt32 impostato per una proprietà sia valido.

protected public:
 static System::UInt32 SetValidValue(System::UInt32 value, System::String ^ propertyName);
[System.CLSCompliant(false)]
protected internal static uint SetValidValue (uint value, string propertyName);
[<System.CLSCompliant(false)>]
static member SetValidValue : uint32 * string -> uint32
Protected Friend Shared Function SetValidValue (value As UInteger, propertyName As String) As UInteger

Parametri

value
UInt32

Valore UInt32.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore UInt32 in fase di impostazione.

Attributi

Si applica a

SetValidValue(UInt16, String)

Importante

Questa API non è conforme a CLS.

Garantisce che il valore UInt16 impostato per una proprietà sia valido.

protected public:
 static System::UInt16 SetValidValue(System::UInt16 value, System::String ^ propertyName);
[System.CLSCompliant(false)]
protected internal static ushort SetValidValue (ushort value, string propertyName);
[<System.CLSCompliant(false)>]
static member SetValidValue : uint16 * string -> uint16
Protected Friend Shared Function SetValidValue (value As UShort, propertyName As String) As UShort

Parametri

value
UInt16

Valore UInt16.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore UInt16 in fase di impostazione.

Attributi

Si applica a

SetValidValue(TimeSpan, String)

Garantisce che il valore TimeSpan impostato per una proprietà sia valido.

protected public:
 static TimeSpan SetValidValue(TimeSpan value, System::String ^ propertyName);
protected internal static TimeSpan SetValidValue (TimeSpan value, string propertyName);
static member SetValidValue : TimeSpan * string -> TimeSpan
Protected Friend Shared Function SetValidValue (value As TimeSpan, propertyName As String) As TimeSpan

Parametri

value
TimeSpan

Valore TimeSpan.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore TimeSpan in fase di impostazione.

Si applica a

SetValidValue(String, Boolean)

Convalida che la proprietà non è null e genera un'eccezione in caso affermativo.

protected public:
 static System::String ^ SetValidValue(System::String ^ value, bool isNullable);
protected internal static string SetValidValue (string value, bool isNullable);
static member SetValidValue : string * bool -> string
Protected Friend Shared Function SetValidValue (value As String, isNullable As Boolean) As String

Parametri

value
String

Valore stringa da controllare.

isNullable
Boolean

Flag che indica se a questa proprietà è consentito essere null.

Restituisce

Valore String convalidato.

Eccezioni

Se il valore è Null per un valore non nullable.

Si applica a

SetValidValue(Single, String)

Garantisce che il valore Single impostato per una proprietà sia valido.

protected public:
 static float SetValidValue(float value, System::String ^ propertyName);
protected internal static float SetValidValue (float value, string propertyName);
static member SetValidValue : single * string -> single
Protected Friend Shared Function SetValidValue (value As Single, propertyName As String) As Single

Parametri

value
Single

Valore Single.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore Single in fase di impostazione.

Si applica a

SetValidValue(SByte, String)

Importante

Questa API non è conforme a CLS.

Garantisce che il valore SByte impostato per una proprietà sia valido.

protected public:
 static System::SByte SetValidValue(System::SByte value, System::String ^ propertyName);
[System.CLSCompliant(false)]
protected internal static sbyte SetValidValue (sbyte value, string propertyName);
[<System.CLSCompliant(false)>]
static member SetValidValue : sbyte * string -> sbyte
Protected Friend Shared Function SetValidValue (value As SByte, propertyName As String) As SByte

Parametri

value
SByte

Valore SByte.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore SByte in fase di impostazione.

Attributi

Si applica a

SetValidValue(DateTime, String)

Garantisce che il valore DateTime impostato per una proprietà sia valido.

protected public:
 static DateTime SetValidValue(DateTime value, System::String ^ propertyName);
protected internal static DateTime SetValidValue (DateTime value, string propertyName);
static member SetValidValue : DateTime * string -> DateTime
Protected Friend Shared Function SetValidValue (value As DateTime, propertyName As String) As DateTime

Parametri

value
DateTime

Valore DateTime.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore DateTime in fase di impostazione.

Si applica a

SetValidValue(Nullable<UInt32>, String)

Importante

Questa API non è conforme a CLS.

Garantisce che il valore UInt32 impostato per una proprietà sia valido.

protected public:
 static Nullable<System::UInt32> SetValidValue(Nullable<System::UInt32> value, System::String ^ propertyName);
[System.CLSCompliant(false)]
protected internal static uint? SetValidValue (uint? value, string propertyName);
[<System.CLSCompliant(false)>]
static member SetValidValue : Nullable<uint32> * string -> Nullable<uint32>
Protected Friend Shared Function SetValidValue (value As Nullable(Of UInteger), propertyName As String) As Nullable(Of UInteger)

Parametri

value
Nullable<UInt32>

Valore nullable UInt32.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Valore nullable UInt32 impostato.

Attributi

Si applica a

SetValidValue(Nullable<UInt16>, String)

Importante

Questa API non è conforme a CLS.

Garantisce che il valore UInt16 impostato per una proprietà sia valido.

protected public:
 static Nullable<System::UInt16> SetValidValue(Nullable<System::UInt16> value, System::String ^ propertyName);
[System.CLSCompliant(false)]
protected internal static ushort? SetValidValue (ushort? value, string propertyName);
[<System.CLSCompliant(false)>]
static member SetValidValue : Nullable<uint16> * string -> Nullable<uint16>
Protected Friend Shared Function SetValidValue (value As Nullable(Of UShort), propertyName As String) As Nullable(Of UShort)

Parametri

value
Nullable<UInt16>

Valore nullable UInt16.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Valore nullable UInt16 impostato.

Attributi

Si applica a

SetValidValue(Nullable<TimeSpan>, String)

Garantisce che il valore TimeSpan impostato per una proprietà sia valido.

protected public:
 static Nullable<TimeSpan> SetValidValue(Nullable<TimeSpan> value, System::String ^ propertyName);
protected internal static TimeSpan? SetValidValue (TimeSpan? value, string propertyName);
static member SetValidValue : Nullable<TimeSpan> * string -> Nullable<TimeSpan>
Protected Friend Shared Function SetValidValue (value As Nullable(Of TimeSpan), propertyName As String) As Nullable(Of TimeSpan)

Parametri

value
Nullable<TimeSpan>

Valore nullable di TimeSpan.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Valore nullable di TimeSpan impostato.

Si applica a

SetValidValue(Nullable<SByte>, String)

Importante

Questa API non è conforme a CLS.

Garantisce che il valore SByte impostato per una proprietà sia valido.

protected public:
 static Nullable<System::SByte> SetValidValue(Nullable<System::SByte> value, System::String ^ propertyName);
[System.CLSCompliant(false)]
protected internal static sbyte? SetValidValue (sbyte? value, string propertyName);
[<System.CLSCompliant(false)>]
static member SetValidValue : Nullable<sbyte> * string -> Nullable<sbyte>
Protected Friend Shared Function SetValidValue (value As Nullable(Of SByte), propertyName As String) As Nullable(Of SByte)

Parametri

value
Nullable<SByte>

Valore nullable di SByte.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Valore nullable di SByte impostato.

Attributi

Si applica a

SetValidValue(DbGeometry, Boolean)

Convalida che la proprietà non è null e genera un'eccezione in caso affermativo.

protected public:
 static System::Data::Spatial::DbGeometry ^ SetValidValue(System::Data::Spatial::DbGeometry ^ value, bool isNullable);
protected internal static System.Data.Spatial.DbGeometry SetValidValue (System.Data.Spatial.DbGeometry value, bool isNullable);
static member SetValidValue : System.Data.Spatial.DbGeometry * bool -> System.Data.Spatial.DbGeometry
Protected Friend Shared Function SetValidValue (value As DbGeometry, isNullable As Boolean) As DbGeometry

Parametri

value
DbGeometry

Valore DbGeometry da controllare.

isNullable
Boolean

Flag che indica se a questa proprietà è consentito essere null.

Restituisce

Il valore DbGeometry in fase di impostazione.

Eccezioni

Il valore della stringa è null per una proprietà non nullable.

Si applica a

SetValidValue(UInt32)

Importante

Questa API non è conforme a CLS.

Garantisce che il valore UInt32 impostato per una proprietà sia valido.

protected public:
 static System::UInt32 SetValidValue(System::UInt32 value);
[System.CLSCompliant(false)]
protected internal static uint SetValidValue (uint value);
[<System.CLSCompliant(false)>]
static member SetValidValue : uint32 -> uint32
Protected Friend Shared Function SetValidValue (value As UInteger) As UInteger

Parametri

value
UInt32

Valore UInt32.

Restituisce

Il valore UInt32 in fase di impostazione.

Attributi

Si applica a

SetValidValue(Byte[], Boolean)

Garantisce che il valore matrice di byte impostato per una proprietà sia valido.

protected public:
 static cli::array <System::Byte> ^ SetValidValue(cli::array <System::Byte> ^ value, bool isNullable);
protected internal static byte[] SetValidValue (byte[] value, bool isNullable);
static member SetValidValue : byte[] * bool -> byte[]
Protected Friend Shared Function SetValidValue (value As Byte(), isNullable As Boolean) As Byte()

Parametri

value
Byte[]

Valore in fase di impostazione.

isNullable
Boolean

Indica se la proprietà è nullable.

Restituisce

Byte[]

Valore Byte in corso di impostazione.

Eccezioni

Se il valore è Null per un valore non nullable.

Si applica a

SetValidValue(Nullable<Decimal>)

Garantisce che il valore Decimal impostato per una proprietà sia valido.

protected public:
 static Nullable<System::Decimal> SetValidValue(Nullable<System::Decimal> value);
protected internal static decimal? SetValidValue (decimal? value);
static member SetValidValue : Nullable<decimal> -> Nullable<decimal>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Decimal)) As Nullable(Of Decimal)

Parametri

value
Nullable<Decimal>

Valore nullable di Decimal.

Restituisce

Valore nullable di Decimal impostato.

Si applica a

SetValidValue(Nullable<DateTimeOffset>)

Garantisce che il valore DateTimeOffset impostato per una proprietà sia valido.

protected public:
 static Nullable<DateTimeOffset> SetValidValue(Nullable<DateTimeOffset> value);
protected internal static DateTimeOffset? SetValidValue (DateTimeOffset? value);
static member SetValidValue : Nullable<DateTimeOffset> -> Nullable<DateTimeOffset>
Protected Friend Shared Function SetValidValue (value As Nullable(Of DateTimeOffset)) As Nullable(Of DateTimeOffset)

Parametri

value
Nullable<DateTimeOffset>

Valore nullable di DateTimeOffset.

Restituisce

Valore nullable di DateTimeOffset impostato.

Si applica a

SetValidValue(Nullable<DateTime>)

Garantisce che il valore DateTime impostato per una proprietà sia valido.

protected public:
 static Nullable<DateTime> SetValidValue(Nullable<DateTime> value);
protected internal static DateTime? SetValidValue (DateTime? value);
static member SetValidValue : Nullable<DateTime> -> Nullable<DateTime>
Protected Friend Shared Function SetValidValue (value As Nullable(Of DateTime)) As Nullable(Of DateTime)

Parametri

value
Nullable<DateTime>

Valore nullable di DateTime.

Restituisce

Valore nullable di DateTime impostato.

Si applica a

SetValidValue(Nullable<Byte>)

Garantisce che il valore Byte impostato per una proprietà sia valido.

protected public:
 static Nullable<System::Byte> SetValidValue(Nullable<System::Byte> value);
protected internal static byte? SetValidValue (byte? value);
static member SetValidValue : Nullable<byte> -> Nullable<byte>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Byte)) As Nullable(Of Byte)

Parametri

value
Nullable<Byte>

Valore nullable di Byte.

Restituisce

Valore nullable di Byte impostato.

Si applica a

SetValidValue(Nullable<Boolean>)

Garantisce che il valore Boolean impostato per una proprietà sia valido.

protected public:
 static Nullable<bool> SetValidValue(Nullable<bool> value);
protected internal static bool? SetValidValue (bool? value);
static member SetValidValue : Nullable<bool> -> Nullable<bool>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Boolean)) As Nullable(Of Boolean)

Parametri

value
Nullable<Boolean>

Valore nullable di Boolean.

Restituisce

Valore nullable di Boolean impostato.

Si applica a

SetValidValue(Int64)

Garantisce che il valore Int64 impostato per una proprietà sia valido.

protected public:
 static long SetValidValue(long value);
protected internal static long SetValidValue (long value);
static member SetValidValue : int64 -> int64
Protected Friend Shared Function SetValidValue (value As Long) As Long

Parametri

value
Int64

Valore Int64.

Restituisce

Il valore Int64 in fase di impostazione.

Si applica a

SetValidValue(Int32)

Garantisce che il valore Int32 impostato per una proprietà sia valido.

protected public:
 static int SetValidValue(int value);
protected internal static int SetValidValue (int value);
static member SetValidValue : int -> int
Protected Friend Shared Function SetValidValue (value As Integer) As Integer

Parametri

value
Int32

Valore Int32.

Restituisce

Il valore Int32 in fase di impostazione.

Si applica a

SetValidValue(Int16)

Garantisce che il valore Int16 impostato per una proprietà sia valido.

protected public:
 static short SetValidValue(short value);
protected internal static short SetValidValue (short value);
static member SetValidValue : int16 -> int16
Protected Friend Shared Function SetValidValue (value As Short) As Short

Parametri

value
Int16

Valore Int16.

Restituisce

Il valore Int16 in fase di impostazione.

Si applica a

SetValidValue(Guid)

Garantisce che il valore Guid impostato per una proprietà sia valido.

protected public:
 static Guid SetValidValue(Guid value);
protected internal static Guid SetValidValue (Guid value);
static member SetValidValue : Guid -> Guid
Protected Friend Shared Function SetValidValue (value As Guid) As Guid

Parametri

value
Guid

Valore Guid.

Restituisce

Il valore Guid in fase di impostazione.

Si applica a

SetValidValue(Double)

Garantisce che il valore Double impostato per una proprietà sia valido.

protected public:
 static double SetValidValue(double value);
protected internal static double SetValidValue (double value);
static member SetValidValue : double -> double
Protected Friend Shared Function SetValidValue (value As Double) As Double

Parametri

value
Double

Valore Double.

Restituisce

Il valore Double in fase di impostazione.

Si applica a

SetValidValue(Decimal)

Garantisce che il valore Decimal impostato per una proprietà sia valido.

protected public:
 static System::Decimal SetValidValue(System::Decimal value);
protected internal static decimal SetValidValue (decimal value);
static member SetValidValue : decimal -> decimal
Protected Friend Shared Function SetValidValue (value As Decimal) As Decimal

Parametri

value
Decimal

Valore Decimal.

Restituisce

Il valore Decimal in fase di impostazione.

Si applica a

SetValidValue(DateTimeOffset)

Garantisce che il valore DateTimeOffset impostato per una proprietà sia valido.

protected public:
 static DateTimeOffset SetValidValue(DateTimeOffset value);
protected internal static DateTimeOffset SetValidValue (DateTimeOffset value);
static member SetValidValue : DateTimeOffset -> DateTimeOffset
Protected Friend Shared Function SetValidValue (value As DateTimeOffset) As DateTimeOffset

Parametri

Restituisce

Valore DateTimeOffset in corso di impostazione.

Si applica a

SetValidValue(DateTime)

Garantisce che il valore DateTime impostato per una proprietà sia valido.

protected public:
 static DateTime SetValidValue(DateTime value);
protected internal static DateTime SetValidValue (DateTime value);
static member SetValidValue : DateTime -> DateTime
Protected Friend Shared Function SetValidValue (value As DateTime) As DateTime

Parametri

value
DateTime

Valore DateTime.

Restituisce

Il valore DateTime in fase di impostazione.

Si applica a

SetValidValue(Byte)

Garantisce che il valore Byte impostato per una proprietà sia valido.

protected public:
 static System::Byte SetValidValue(System::Byte value);
protected internal static byte SetValidValue (byte value);
static member SetValidValue : byte -> byte
Protected Friend Shared Function SetValidValue (value As Byte) As Byte

Parametri

value
Byte

Valore da convalidare.

Restituisce

Il valore Byte impostato.

Si applica a

SetValidValue(Boolean)

Garantisce che il valore Boolean impostato per una proprietà sia valido.

protected public:
 static bool SetValidValue(bool value);
protected internal static bool SetValidValue (bool value);
static member SetValidValue : bool -> bool
Protected Friend Shared Function SetValidValue (value As Boolean) As Boolean

Parametri

value
Boolean

Il valore booleano.

Restituisce

Il valore Boolean in fase di impostazione.

Si applica a

SetValidValue(Nullable<Double>)

Garantisce che il valore Double impostato per una proprietà sia valido.

protected public:
 static Nullable<double> SetValidValue(Nullable<double> value);
protected internal static double? SetValidValue (double? value);
static member SetValidValue : Nullable<double> -> Nullable<double>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Double)) As Nullable(Of Double)

Parametri

value
Nullable<Double>

Valore nullable di Double.

Restituisce

Valore nullable di Double impostato.

Si applica a

SetValidValue(DbGeography, Boolean)

Convalida che la proprietà non è null e genera un'eccezione in caso affermativo.

protected public:
 static System::Data::Spatial::DbGeography ^ SetValidValue(System::Data::Spatial::DbGeography ^ value, bool isNullable);
protected internal static System.Data.Spatial.DbGeography SetValidValue (System.Data.Spatial.DbGeography value, bool isNullable);
static member SetValidValue : System.Data.Spatial.DbGeography * bool -> System.Data.Spatial.DbGeography
Protected Friend Shared Function SetValidValue (value As DbGeography, isNullable As Boolean) As DbGeography

Parametri

value
DbGeography

Valore DbGeography da controllare.

isNullable
Boolean

Flag che indica se a questa proprietà è consentito essere null.

Restituisce

Il valore DbGeography in fase di impostazione.

Eccezioni

Il valore della stringa è null per una proprietà non nullable.

Si applica a

SetValidValue(Nullable<Guid>)

Garantisce che il valore Guid impostato per una proprietà sia valido.

protected public:
 static Nullable<Guid> SetValidValue(Nullable<Guid> value);
protected internal static Guid? SetValidValue (Guid? value);
static member SetValidValue : Nullable<Guid> -> Nullable<Guid>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Guid)) As Nullable(Of Guid)

Parametri

value
Nullable<Guid>

Valore nullable di Guid.

Restituisce

Valore nullable di Guid impostato.

Si applica a

SetValidValue(Nullable<Int32>)

Garantisce che il valore Int32 impostato per una proprietà sia valido.

protected public:
 static Nullable<int> SetValidValue(Nullable<int> value);
protected internal static int? SetValidValue (int? value);
static member SetValidValue : Nullable<int> -> Nullable<int>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Integer)) As Nullable(Of Integer)

Parametri

value
Nullable<Int32>

Valore nullable di Int32.

Restituisce

Valore nullable di Int32 impostato.

Si applica a

SetValidValue(Byte, String)

Garantisce che il valore Byte impostato per una proprietà sia valido.

protected public:
 static System::Byte SetValidValue(System::Byte value, System::String ^ propertyName);
protected internal static byte SetValidValue (byte value, string propertyName);
static member SetValidValue : byte * string -> byte
Protected Friend Shared Function SetValidValue (value As Byte, propertyName As String) As Byte

Parametri

value
Byte

Valore Byte.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Oggetto Byte impostato.

Si applica a

SetValidValue(Boolean, String)

Garantisce che il valore Boolean impostato per una proprietà sia valido.

protected public:
 static bool SetValidValue(bool value, System::String ^ propertyName);
protected internal static bool SetValidValue (bool value, string propertyName);
static member SetValidValue : bool * string -> bool
Protected Friend Shared Function SetValidValue (value As Boolean, propertyName As String) As Boolean

Parametri

value
Boolean

Il valore booleano.

propertyName
String

Nome della proprietà che viene convalidata.

Restituisce

Il valore Boolean in fase di impostazione.

Si applica a

SetValidValue(UInt64)

Importante

Questa API non è conforme a CLS.

Garantisce che il valore UInt64 impostato per una proprietà sia valido.

protected public:
 static System::UInt64 SetValidValue(System::UInt64 value);
[System.CLSCompliant(false)]
protected internal static ulong SetValidValue (ulong value);
[<System.CLSCompliant(false)>]
static member SetValidValue : uint64 -> uint64
Protected Friend Shared Function SetValidValue (value As ULong) As ULong

Parametri

value
UInt64

Valore UInt64.

Restituisce

Il valore UInt64 in fase di impostazione.

Attributi

Si applica a

SetValidValue(UInt16)

Importante

Questa API non è conforme a CLS.

Garantisce che il valore UInt16 impostato per una proprietà sia valido.

protected public:
 static System::UInt16 SetValidValue(System::UInt16 value);
[System.CLSCompliant(false)]
protected internal static ushort SetValidValue (ushort value);
[<System.CLSCompliant(false)>]
static member SetValidValue : uint16 -> uint16
Protected Friend Shared Function SetValidValue (value As UShort) As UShort

Parametri

value
UInt16

Valore UInt16.

Restituisce

Il valore UInt16 in fase di impostazione.

Attributi

Si applica a

SetValidValue(TimeSpan)

Garantisce che il valore TimeSpan impostato per una proprietà sia valido.

protected public:
 static TimeSpan SetValidValue(TimeSpan value);
protected internal static TimeSpan SetValidValue (TimeSpan value);
static member SetValidValue : TimeSpan -> TimeSpan
Protected Friend Shared Function SetValidValue (value As TimeSpan) As TimeSpan

Parametri

value
TimeSpan

Valore TimeSpan.

Restituisce

Il valore TimeSpan in fase di impostazione.

Si applica a

SetValidValue(Single)

Garantisce che il valore Single impostato per una proprietà sia valido.

protected public:
 static float SetValidValue(float value);
protected internal static float SetValidValue (float value);
static member SetValidValue : single -> single
Protected Friend Shared Function SetValidValue (value As Single) As Single

Parametri

value
Single

Valore Single.

Restituisce

Il valore Single in fase di impostazione.

Si applica a

SetValidValue(Nullable<Int16>)

Garantisce che il valore Int16 impostato per una proprietà sia valido.

protected public:
 static Nullable<short> SetValidValue(Nullable<short> value);
protected internal static short? SetValidValue (short? value);
static member SetValidValue : Nullable<int16> -> Nullable<int16>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Short)) As Nullable(Of Short)

Parametri

value
Nullable<Int16>

Valore nullable di Int16.

Restituisce

Valore nullable di Int16 impostato.

Si applica a

SetValidValue(SByte)

Importante

Questa API non è conforme a CLS.

Garantisce che il valore SByte impostato per una proprietà sia valido.

protected public:
 static System::SByte SetValidValue(System::SByte value);
[System.CLSCompliant(false)]
protected internal static sbyte SetValidValue (sbyte value);
[<System.CLSCompliant(false)>]
static member SetValidValue : sbyte -> sbyte
Protected Friend Shared Function SetValidValue (value As SByte) As SByte

Parametri

value
SByte

Valore SByte.

Restituisce

Il valore SByte in fase di impostazione.

Attributi

Si applica a

SetValidValue(Nullable<UInt32>)

Importante

Questa API non è conforme a CLS.

Garantisce che il valore UInt32 impostato per una proprietà sia valido.

protected public:
 static Nullable<System::UInt32> SetValidValue(Nullable<System::UInt32> value);
[System.CLSCompliant(false)]
protected internal static uint? SetValidValue (uint? value);
[<System.CLSCompliant(false)>]
static member SetValidValue : Nullable<uint32> -> Nullable<uint32>
Protected Friend Shared Function SetValidValue (value As Nullable(Of UInteger)) As Nullable(Of UInteger)

Parametri

value
Nullable<UInt32>

Valore nullable UInt32.

Restituisce

Valore nullable UInt32 impostato.

Attributi

Si applica a

SetValidValue(Nullable<UInt16>)

Importante

Questa API non è conforme a CLS.

Garantisce che il valore UInt16 impostato per una proprietà sia valido.

protected public:
 static Nullable<System::UInt16> SetValidValue(Nullable<System::UInt16> value);
[System.CLSCompliant(false)]
protected internal static ushort? SetValidValue (ushort? value);
[<System.CLSCompliant(false)>]
static member SetValidValue : Nullable<uint16> -> Nullable<uint16>
Protected Friend Shared Function SetValidValue (value As Nullable(Of UShort)) As Nullable(Of UShort)

Parametri

value
Nullable<UInt16>

Valore nullable UInt16.

Restituisce

Valore nullable UInt16 impostato.

Attributi

Si applica a

SetValidValue(Nullable<TimeSpan>)

Garantisce che il valore TimeSpan impostato per una proprietà sia valido.

protected public:
 static Nullable<TimeSpan> SetValidValue(Nullable<TimeSpan> value);
protected internal static TimeSpan? SetValidValue (TimeSpan? value);
static member SetValidValue : Nullable<TimeSpan> -> Nullable<TimeSpan>
Protected Friend Shared Function SetValidValue (value As Nullable(Of TimeSpan)) As Nullable(Of TimeSpan)

Parametri

value
Nullable<TimeSpan>

Valore nullable di TimeSpan.

Restituisce

Valore nullable di TimeSpan impostato.

Si applica a

SetValidValue(Nullable<Single>)

Garantisce che il valore Single impostato per una proprietà sia valido.

protected public:
 static Nullable<float> SetValidValue(Nullable<float> value);
protected internal static float? SetValidValue (float? value);
static member SetValidValue : Nullable<single> -> Nullable<single>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Single)) As Nullable(Of Single)

Parametri

value
Nullable<Single>

Valore nullable di Single.

Restituisce

Valore nullable di Single impostato.

Si applica a

SetValidValue(Nullable<SByte>)

Importante

Questa API non è conforme a CLS.

Garantisce che il valore SByte impostato per una proprietà sia valido.

protected public:
 static Nullable<System::SByte> SetValidValue(Nullable<System::SByte> value);
[System.CLSCompliant(false)]
protected internal static sbyte? SetValidValue (sbyte? value);
[<System.CLSCompliant(false)>]
static member SetValidValue : Nullable<sbyte> -> Nullable<sbyte>
Protected Friend Shared Function SetValidValue (value As Nullable(Of SByte)) As Nullable(Of SByte)

Parametri

value
Nullable<SByte>

Valore nullable di SByte.

Restituisce

Valore nullable di SByte impostato.

Attributi

Si applica a

SetValidValue(Nullable<Int64>)

Garantisce che il valore Int64 impostato per una proprietà sia valido.

protected public:
 static Nullable<long> SetValidValue(Nullable<long> value);
protected internal static long? SetValidValue (long? value);
static member SetValidValue : Nullable<int64> -> Nullable<int64>
Protected Friend Shared Function SetValidValue (value As Nullable(Of Long)) As Nullable(Of Long)

Parametri

value
Nullable<Int64>

Valore nullable di Int64.

Restituisce

Valore nullable di Int64 impostato.

Si applica a

SetValidValue(Nullable<UInt64>)

Importante

Questa API non è conforme a CLS.

Garantisce che il valore UInt64 impostato per una proprietà sia valido.

protected public:
 static Nullable<System::UInt64> SetValidValue(Nullable<System::UInt64> value);
[System.CLSCompliant(false)]
protected internal static ulong? SetValidValue (ulong? value);
[<System.CLSCompliant(false)>]
static member SetValidValue : Nullable<uint64> -> Nullable<uint64>
Protected Friend Shared Function SetValidValue (value As Nullable(Of ULong)) As Nullable(Of ULong)

Parametri

value
Nullable<UInt64>

Valore nullable UInt64.

Restituisce

Valore nullable UInt64 impostato.

Attributi

Si applica a

SetValidValue<T>(T, T, String)

Imposta un oggetto complesso per la proprietà specificata.

protected public:
generic <typename T>
 where T : System::Data::Objects::DataClasses::ComplexObject T SetValidValue(T oldValue, T newValue, System::String ^ property);
protected internal T SetValidValue<T> (T oldValue, T newValue, string property) where T : System.Data.Objects.DataClasses.ComplexObject;
member this.SetValidValue : 'T * 'T * string -> 'T (requires 'T :> System.Data.Objects.DataClasses.ComplexObject)
Protected Friend Function SetValidValue(Of T As ComplexObject) (oldValue As T, newValue As T, property As String) As T

Parametri di tipo

T

Tipo dell'oggetto che viene sostituito.

Parametri

oldValue
T

Oggetto complesso originale per la proprietà, se presente.

newValue
T

Oggetto complesso da impostare.

property
String

Proprietà complessa da impostare sull'oggetto complesso.

Restituisce

T

Tipo complesso che deriva da un oggetto complesso.

Si applica a