SafeRandom.Next 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Next() | |
Next(Int32) | |
Next(Int32, Int32) |
Next()
- Source:
- SafeRandom.cs
public int Next ();
member this.Next : unit -> int
Public Function Next () As Integer
返回
适用于
Next(Int32)
- Source:
- SafeRandom.cs
public int Next (int maxValue);
member this.Next : int -> int
Public Function Next (maxValue As Integer) As Integer
参数
- maxValue
- Int32
返回
适用于
Next(Int32, Int32)
- Source:
- SafeRandom.cs
public int Next (int minValue, int maxValue);
member this.Next : int * int -> int
Public Function Next (minValue As Integer, maxValue As Integer) As Integer
参数
- minValue
- Int32
- maxValue
- Int32