Random.NextInteger Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| NextInteger<T>() | |
| NextInteger<T>(T) | |
| NextInteger<T>(T, T) |
NextInteger<T>()
- Origine:
- Random.cs
public:
generic <typename T>
where T : System::Numerics::IBinaryInteger<T>, System::Numerics::IMinMaxValue<T> T NextInteger();
public T NextInteger<T>() where T : System.Numerics.IBinaryInteger<T>, System.Numerics.IMinMaxValue<T>;
member this.NextInteger : unit -> 'T (requires 'T :> System.Numerics.IBinaryInteger<'T> and 'T :> System.Numerics.IMinMaxValue<'T>)
Public Function NextInteger(Of T As {IBinaryInteger(Of T), IMinMaxValue(Of T)}) () As T
Parametri di tipo
- T
Valori restituiti
Si applica a
NextInteger<T>(T)
- Origine:
- Random.cs
public:
generic <typename T>
where T : System::Numerics::IBinaryInteger<T> T NextInteger(T maxValue);
public T NextInteger<T>(T maxValue) where T : System.Numerics.IBinaryInteger<T>;
member this.NextInteger : 'T -> 'T (requires 'T :> System.Numerics.IBinaryInteger<'T>)
Public Function NextInteger(Of T As IBinaryInteger(Of T)) (maxValue As T) As T
Parametri di tipo
- T
Parametri
- maxValue
- T
Valori restituiti
Si applica a
NextInteger<T>(T, T)
- Origine:
- Random.cs
public:
generic <typename T>
where T : System::Numerics::IBinaryInteger<T> T NextInteger(T minValue, T maxValue);
public T NextInteger<T>(T minValue, T maxValue) where T : System.Numerics.IBinaryInteger<T>;
member this.NextInteger : 'T * 'T -> 'T (requires 'T :> System.Numerics.IBinaryInteger<'T>)
Public Function NextInteger(Of T As IBinaryInteger(Of T)) (minValue As T, maxValue As T) As T
Parametri di tipo
- T
Parametri
- minValue
- T
- maxValue
- T