Random.NextInteger Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
| Nombre | Description |
|---|---|
| NextInteger<T>() | |
| NextInteger<T>(T) | |
| NextInteger<T>(T, T) |
NextInteger<T>()
- Source:
- 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
Parámetros de tipo
- T
Devoluciones
Se aplica a
NextInteger<T>(T)
- Source:
- 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
Parámetros de tipo
- T
Parámetros
- maxValue
- T
Devoluciones
Se aplica a
NextInteger<T>(T, T)
- Source:
- 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
Parámetros de tipo
- T
Parámetros
- minValue
- T
- maxValue
- T