StructuralObject.SetValidValue Metodo

Definizione

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

Overload

Nome Descrizione
SetValidValue(Nullable<Int16>, String)

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

SetValidValue(Nullable<Guid>, String)

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

SetValidValue(Nullable<Double>, String)

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

SetValidValue(Nullable<Decimal>, String)

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

SetValidValue(Nullable<DateTimeOffset>, String)

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

SetValidValue(Nullable<DateTime>, String)

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

SetValidValue(Nullable<Byte>, String)

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

SetValidValue(Double, String)

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

SetValidValue(Int64, String)

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

SetValidValue(Int32, String)

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

SetValidValue(Int16, String)

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

SetValidValue(Guid, String)

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

SetValidValue(Nullable<Int32>, String)

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

SetValidValue(Decimal, String)

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

SetValidValue(DateTimeOffset, String)

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

SetValidValue(Nullable<Boolean>, String)

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

SetValidValue(Nullable<Int64>, String)

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

SetValidValue(Nullable<UInt64>, String)

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

SetValidValue(Nullable<Single>, String)

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

SetValidValue(String, Boolean, String)

Convalida che la proprietà non è Null e genera un'eccezione se è.

SetValidValue(DbGeometry, Boolean, String)

Convalida che la proprietà non è Null e genera un'eccezione se è.

SetValidValue(DbGeography, Boolean, String)

Convalida che la proprietà non è Null e genera un'eccezione se è.

SetValidValue(Byte[], Boolean, String)

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

SetValidValue(UInt64, String)

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

SetValidValue(UInt32, String)

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

SetValidValue(UInt16, String)

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

SetValidValue(TimeSpan, String)

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

SetValidValue(String, Boolean)

Convalida che la proprietà non è Null e genera un'eccezione se è.

SetValidValue(Single, String)

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

SetValidValue(SByte, String)

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

SetValidValue(DateTime, String)

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

SetValidValue(Nullable<UInt32>, String)

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

SetValidValue(Nullable<UInt16>, String)

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

SetValidValue(Nullable<TimeSpan>, String)

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

SetValidValue(Nullable<SByte>, String)

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

SetValidValue(DbGeometry, Boolean)

Convalida che la proprietà non è Null e genera un'eccezione se è.

SetValidValue(UInt32)

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

SetValidValue(Byte[], Boolean)

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

SetValidValue(Nullable<Decimal>)

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

SetValidValue(Nullable<DateTimeOffset>)

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

SetValidValue(Nullable<DateTime>)

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

SetValidValue(Nullable<Byte>)

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

SetValidValue(Nullable<Boolean>)

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

SetValidValue(Int64)

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

SetValidValue(Int32)

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

SetValidValue(Int16)

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

SetValidValue(Guid)

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

SetValidValue(Double)

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

SetValidValue(Decimal)

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

SetValidValue(DateTimeOffset)

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

SetValidValue(DateTime)

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

SetValidValue(Byte)

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

SetValidValue(Boolean)

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

SetValidValue(Nullable<Double>)

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

SetValidValue(DbGeography, Boolean)

Convalida che la proprietà non è Null e genera un'eccezione se è.

SetValidValue(Nullable<Guid>)

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

SetValidValue(Nullable<Int32>)

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

SetValidValue(Byte, String)

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

SetValidValue(Boolean, String)

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

SetValidValue(UInt64)

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

SetValidValue(UInt16)

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

SetValidValue(TimeSpan)

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

SetValidValue(Single)

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

SetValidValue(Nullable<Int16>)

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

SetValidValue(SByte)

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

SetValidValue(Nullable<UInt32>)

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

SetValidValue(Nullable<UInt16>)

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

SetValidValue(Nullable<TimeSpan>)

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

SetValidValue(Nullable<Single>)

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

SetValidValue(Nullable<SByte>)

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

SetValidValue(Nullable<Int64>)

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

SetValidValue(Nullable<UInt64>)

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

SetValidValue<T>(T, T, String)

Imposta un oggetto complesso per la proprietà specificata.

SetValidValue(Nullable<Int16>, String)

Verifica che il Int16 valore 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 Int16 .

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore nullable Int16 impostato.

Si applica a

SetValidValue(Nullable<Guid>, String)

Verifica che il Guid valore 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 Guid .

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore nullable Guid impostato.

Si applica a

SetValidValue(Nullable<Double>, String)

Verifica che il Double valore 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 Double .

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore nullable Double impostato.

Si applica a

SetValidValue(Nullable<Decimal>, String)

Verifica che il Decimal valore 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 Decimal .

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore nullable Decimal impostato.

Si applica a

SetValidValue(Nullable<DateTimeOffset>, String)

Verifica che il DateTimeOffset valore 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à da convalidare.

Valori restituiti

Valore DateTimeOffset impostato.

Si applica a

SetValidValue(Nullable<DateTime>, String)

Verifica che il DateTime valore 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 DateTime .

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore nullable DateTime impostato.

Si applica a

SetValidValue(Nullable<Byte>, String)

Verifica che il Byte valore 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 Byte .

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore nullable Byte impostato.

Si applica a

SetValidValue(Double, String)

Verifica che il Double valore 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

Il valore Double.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore Double impostato.

Si applica a

SetValidValue(Int64, String)

Verifica che il Int64 valore 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

Il valore Int64.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore Int64 impostato.

Si applica a

SetValidValue(Int32, String)

Verifica che il Int32 valore 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

Il valore Int32.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore Int32 impostato.

Si applica a

SetValidValue(Int16, String)

Verifica che il Int16 valore 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

Il valore Int16.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore Int16 impostato.

Si applica a

SetValidValue(Guid, String)

Verifica che il Guid valore 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

Il valore Guid.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore Guid impostato.

Si applica a

SetValidValue(Nullable<Int32>, String)

Verifica che il Int32 valore 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 Int32 .

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore nullable Int32 impostato.

Si applica a

SetValidValue(Decimal, String)

Verifica che il Decimal valore 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

Il valore Decimal.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore Decimal impostato.

Si applica a

SetValidValue(DateTimeOffset, String)

Verifica che il DateTimeOffset valore 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

value
DateTimeOffset

Il valore DateTimeOffset.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore DateTimeOffset impostato.

Si applica a

SetValidValue(Nullable<Boolean>, String)

Verifica che il Boolean valore 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 Boolean .

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore nullable Boolean impostato.

Si applica a

SetValidValue(Nullable<Int64>, String)

Verifica che il Int64 valore 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 Int64 .

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore nullable Int64 impostato.

Si applica a

SetValidValue(Nullable<UInt64>, String)

Importante

Questa API non è conforme a CLS.

Verifica che il UInt64 valore 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 UInt64 nullable.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore UInt64 nullable impostato.

Attributi

Si applica a

SetValidValue(Nullable<Single>, String)

Verifica che il Single valore 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 Single .

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore nullable Single impostato.

Si applica a

SetValidValue(String, Boolean, String)

Convalida che la proprietà non è Null e genera un'eccezione se è.

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 questa proprietà può essere null.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Proprietà convalidata.

Eccezioni

Il valore stringa è Null per una stringa non nullable.

Si applica a

SetValidValue(DbGeometry, Boolean, String)

Convalida che la proprietà non è Null e genera un'eccezione se è.

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

DbGeometry valore da controllare.

isNullable
Boolean

Flag che indica se questa proprietà può essere null.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore DbGeometry impostato.

Eccezioni

Il valore è Null per una proprietà non nullable.

Si applica a

SetValidValue(DbGeography, Boolean, String)

Convalida che la proprietà non è Null e genera un'eccezione se è.

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 questa proprietà può essere null.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore DbGeography impostato.

Eccezioni

Il valore è Null per una proprietà non nullable.

Si applica a

SetValidValue(Byte[], Boolean, String)

Verifica che il Byte valore della matrice 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 setter della proprietà.

isNullable
Boolean

Flag che indica se questa proprietà può essere null.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Byte[]

Valore Byte da convalidare.

Eccezioni

Se il valore è Null per un valore non nullable.

Si applica a

SetValidValue(UInt64, String)

Importante

Questa API non è conforme a CLS.

Verifica che il UInt64 valore 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

Il valore UInt64.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore UInt64 impostato.

Attributi

Si applica a

SetValidValue(UInt32, String)

Importante

Questa API non è conforme a CLS.

Verifica che il UInt32 valore 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

Il valore UInt32.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore UInt32 impostato.

Attributi

Si applica a

SetValidValue(UInt16, String)

Importante

Questa API non è conforme a CLS.

Verifica che il UInt16 valore 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

Il valore UInt16.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore UInt16 impostato.

Attributi

Si applica a

SetValidValue(TimeSpan, String)

Verifica che il TimeSpan valore 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

Il valore TimeSpan.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore TimeSpan impostato.

Si applica a

SetValidValue(String, Boolean)

Convalida che la proprietà non è Null e genera un'eccezione se è.

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 questa proprietà può essere null.

Valori restituiti

Valore convalidato String .

Eccezioni

Se il valore è Null per un valore non nullable.

Si applica a

SetValidValue(Single, String)

Verifica 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

Il valore Single.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore Single impostato.

Si applica a

SetValidValue(SByte, String)

Importante

Questa API non è conforme a CLS.

Verifica che il SByte valore 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

Il valore SByte.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore SByte impostato.

Attributi

Si applica a

SetValidValue(DateTime, String)

Verifica che il DateTime valore 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

Il valore DateTime.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore DateTime impostato.

Si applica a

SetValidValue(Nullable<UInt32>, String)

Importante

Questa API non è conforme a CLS.

Verifica 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 UInt32 nullable.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore UInt32 nullable impostato.

Attributi

Si applica a

SetValidValue(Nullable<UInt16>, String)

Importante

Questa API non è conforme a CLS.

Verifica 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 UInt16 nullable.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore UInt16 nullable impostato.

Attributi

Si applica a

SetValidValue(Nullable<TimeSpan>, String)

Verifica che il TimeSpan valore 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 TimeSpan .

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore nullable TimeSpan impostato.

Si applica a

SetValidValue(Nullable<SByte>, String)

Importante

Questa API non è conforme a CLS.

Verifica che il SByte valore 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 SByte .

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore nullable SByte impostato.

Attributi

Si applica a

SetValidValue(DbGeometry, Boolean)

Convalida che la proprietà non è Null e genera un'eccezione se è.

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 questa proprietà può essere null.

Valori restituiti

Valore DbGeometry impostato.

Eccezioni

Il valore è Null per una proprietà non nullable.

Si applica a

SetValidValue(UInt32)

Importante

Questa API non è conforme a CLS.

Verifica che il UInt32 valore 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

Il valore UInt32.

Valori restituiti

Valore UInt32 impostato.

Attributi

Si applica a

SetValidValue(Byte[], Boolean)

Verifica che il valore della 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 impostato.

isNullable
Boolean

Indica se la proprietà è nullable.

Valori restituiti

Byte[]

Valore Byte impostato.

Eccezioni

Se il valore è Null per un valore non nullable.

Si applica a

SetValidValue(Nullable<Decimal>)

Verifica che il Decimal valore 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 Decimal .

Valori restituiti

Valore nullable Decimal impostato.

Si applica a

SetValidValue(Nullable<DateTimeOffset>)

Verifica che il DateTimeOffset valore 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 DateTimeOffset .

Valori restituiti

Valore nullable DateTimeOffset impostato.

Si applica a

SetValidValue(Nullable<DateTime>)

Verifica che il DateTime valore 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 DateTime .

Valori restituiti

Valore nullable DateTime impostato.

Si applica a

SetValidValue(Nullable<Byte>)

Verifica che il Byte valore 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 Byte .

Valori restituiti

Valore nullable Byte impostato.

Si applica a

SetValidValue(Nullable<Boolean>)

Verifica che il Boolean valore 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 Boolean .

Valori restituiti

Valore nullable Boolean impostato.

Si applica a

SetValidValue(Int64)

Verifica che il Int64 valore 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

Il valore Int64.

Valori restituiti

Valore Int64 impostato.

Si applica a

SetValidValue(Int32)

Verifica che il Int32 valore 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

Il valore Int32.

Valori restituiti

Valore Int32 impostato.

Si applica a

SetValidValue(Int16)

Verifica che il Int16 valore 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

Il valore Int16.

Valori restituiti

Valore Int16 impostato.

Si applica a

SetValidValue(Guid)

Verifica che il Guid valore 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

Il valore Guid.

Valori restituiti

Valore Guid impostato.

Si applica a

SetValidValue(Double)

Verifica che il Double valore 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

Il valore Double.

Valori restituiti

Valore Double impostato.

Si applica a

SetValidValue(Decimal)

Verifica che il Decimal valore 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

Il valore Decimal.

Valori restituiti

Valore Decimal impostato.

Si applica a

SetValidValue(DateTimeOffset)

Verifica che il DateTimeOffset valore 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

value
DateTimeOffset

Il valore DateTimeOffset.

Valori restituiti

Valore DateTimeOffset impostato.

Si applica a

SetValidValue(DateTime)

Verifica che il DateTime valore 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

Il valore DateTime.

Valori restituiti

Valore DateTime impostato.

Si applica a

SetValidValue(Byte)

Verifica che il Byte valore 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.

Valori restituiti

Valore Byte impostato.

Si applica a

SetValidValue(Boolean)

Verifica che il Boolean valore 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

Valore booleano.

Valori restituiti

Valore Boolean impostato.

Si applica a

SetValidValue(Nullable<Double>)

Verifica che il Double valore 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 Double .

Valori restituiti

Valore nullable Double impostato.

Si applica a

SetValidValue(DbGeography, Boolean)

Convalida che la proprietà non è Null e genera un'eccezione se è.

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

DbGeography valore da controllare.

isNullable
Boolean

Flag che indica se questa proprietà può essere null.

Valori restituiti

Valore DbGeography impostato.

Eccezioni

Il valore è Null per una proprietà non nullable.

Si applica a

SetValidValue(Nullable<Guid>)

Verifica che il Guid valore 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 Guid .

Valori restituiti

Valore nullable Guid impostato.

Si applica a

SetValidValue(Nullable<Int32>)

Verifica che il Int32 valore 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 Int32 .

Valori restituiti

Valore nullable Int32 impostato.

Si applica a

SetValidValue(Byte, String)

Verifica che il Byte valore 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

Il valore Byte.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Oggetto Byte impostato.

Si applica a

SetValidValue(Boolean, String)

Verifica che il Boolean valore 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

Valore booleano.

propertyName
String

Nome della proprietà da convalidare.

Valori restituiti

Valore Boolean impostato.

Si applica a

SetValidValue(UInt64)

Importante

Questa API non è conforme a CLS.

Verifica che il UInt64 valore 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

Il valore UInt64.

Valori restituiti

Valore UInt64 impostato.

Attributi

Si applica a

SetValidValue(UInt16)

Importante

Questa API non è conforme a CLS.

Verifica che il UInt16 valore 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

Il valore UInt16.

Valori restituiti

Valore UInt16 impostato.

Attributi

Si applica a

SetValidValue(TimeSpan)

Verifica che il TimeSpan valore 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

Il valore TimeSpan.

Valori restituiti

Valore TimeSpan impostato.

Si applica a

SetValidValue(Single)

Verifica 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

Il valore Single.

Valori restituiti

Valore Single impostato.

Si applica a

SetValidValue(Nullable<Int16>)

Verifica che il Int16 valore 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 Int16 .

Valori restituiti

Valore nullable Int16 impostato.

Si applica a

SetValidValue(SByte)

Importante

Questa API non è conforme a CLS.

Verifica che il SByte valore 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

Il valore SByte.

Valori restituiti

Valore SByte impostato.

Attributi

Si applica a

SetValidValue(Nullable<UInt32>)

Importante

Questa API non è conforme a CLS.

Verifica 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 UInt32 nullable.

Valori restituiti

Valore UInt32 nullable impostato.

Attributi

Si applica a

SetValidValue(Nullable<UInt16>)

Importante

Questa API non è conforme a CLS.

Verifica 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 UInt16 nullable.

Valori restituiti

Valore UInt16 nullable impostato.

Attributi

Si applica a

SetValidValue(Nullable<TimeSpan>)

Verifica che il TimeSpan valore 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 TimeSpan .

Valori restituiti

Valore nullable TimeSpan impostato.

Si applica a

SetValidValue(Nullable<Single>)

Verifica che il Single valore 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 Single .

Valori restituiti

Valore nullable Single impostato.

Si applica a

SetValidValue(Nullable<SByte>)

Importante

Questa API non è conforme a CLS.

Verifica che il SByte valore 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 SByte .

Valori restituiti

Valore nullable SByte impostato.

Attributi

Si applica a

SetValidValue(Nullable<Int64>)

Verifica che il Int64 valore 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 Int64 .

Valori restituiti

Valore nullable Int64 impostato.

Si applica a

SetValidValue(Nullable<UInt64>)

Importante

Questa API non è conforme a CLS.

Verifica che il UInt64 valore 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 UInt64 nullable.

Valori restituiti

Valore UInt64 nullable 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 da sostituire.

Parametri

oldValue
T

Oggetto complesso originale per la proprietà, se presente.

newValue
T

L'oggetto complesso è in corso di impostazione.

property
String

Proprietà complessa impostata sull'oggetto complesso.

Valori restituiti

T

Tipo complesso che deriva da un oggetto complesso.

Si applica a