Compartilhar via


GKRandomDistribution.GetNextInt Método

Definição

Sobrecargas

GetNextInt()

Retorna um inteiro nos limites da distribuição.

GetNextInt(nuint)

Retorna um inteiro nos limites da distribuição, mas não maior que upperBound.

GetNextInt()

Retorna um inteiro nos limites da distribuição.

[Foundation.Export("nextInt")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual nint GetNextInt ();
abstract member GetNextInt : unit -> nint
override this.GetNextInt : unit -> nint

Retornos

System.System.IntPtr System.nativeint

Implementações

Atributos

Aplica-se a

GetNextInt(nuint)

Retorna um inteiro nos limites da distribuição, mas não maior que upperBound.

[Foundation.Export("nextIntWithUpperBound:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual nuint GetNextInt (nuint upperBound);
abstract member GetNextInt : nuint -> nuint
override this.GetNextInt : nuint -> nuint

Parâmetros

upperBound
System.System.UIntPtr System.unativeint

Retornos

System.System.UIntPtr System.unativeint

Implementações

Atributos

Aplica-se a