共用方式為


VarHandle.CompareAndExchange(Object[]) 方法

定義

[Android.Runtime.Register("compareAndExchange", "([Ljava/lang/Object;)Ljava/lang/Object;", "", ApiSince=33)]
public Java.Lang.Object? CompareAndExchange (params Java.Lang.Object[]? args);
[<Android.Runtime.Register("compareAndExchange", "([Ljava/lang/Object;)Ljava/lang/Object;", "", ApiSince=33)>]
member this.CompareAndExchange : Java.Lang.Object[] -> Java.Lang.Object

參數

args
Object[]

傳回

屬性

適用於