Random.NextInteger Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
| Nome | Description |
|---|---|
| NextInteger<T>() | |
| NextInteger<T>(T) | |
| NextInteger<T>(T, T) |
NextInteger<T>()
- Origem:
- 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
Retornos
Aplica-se a
NextInteger<T>(T)
- Origem:
- 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
Retornos
Aplica-se a
NextInteger<T>(T, T)
- Origem:
- 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