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[]
属性

适用于