共用方式為


NSArray_GameplayKit.GetShuffledArray 方法

定義

多載

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)

類型參數

T

參數

This
NSArray

這個方法運作所在的 實例。

傳回

T[]
屬性

適用於

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)

類型參數

T

參數

This
NSArray

這個方法運作所在的 實例。

randomSource
GKRandomSource

傳回

T[]
屬性

適用於