Freigeben über


NSArray_GameplayKit.GetShuffledArray Methode

Definition

Überlädt

GetShuffledArray<T>(NSArray)
GetShuffledArray<T>(NSArray, GKRandomSource)

GetShuffledArray<T>(NSArray)

[Foundation.Export("shuffledArray")]
public static T[] GetShuffledArray<T> (this Foundation.NSArray This) where T : class, ObjCRuntime.INativeObject;
static member GetShuffledArray : Foundation.NSArray -> 'T[] (requires 'T : null and 'T :> ObjCRuntime.INativeObject)

Typparameter

T

Parameter

This
NSArray

Die Instanz, für die diese Methode verwendet wird.

Gibt zurück

T[]
Attribute

Gilt für:

GetShuffledArray<T>(NSArray, GKRandomSource)

[Foundation.Export("shuffledArrayWithRandomSource:")]
public static T[] GetShuffledArray<T> (this Foundation.NSArray This, GameplayKit.GKRandomSource randomSource) where T : class, ObjCRuntime.INativeObject;
static member GetShuffledArray : Foundation.NSArray * GameplayKit.GKRandomSource -> 'T[] (requires 'T : null and 'T :> ObjCRuntime.INativeObject)

Typparameter

T

Parameter

This
NSArray

Die Instanz, für die diese Methode verwendet wird.

randomSource
GKRandomSource

Gibt zurück

T[]
Attribute

Gilt für: