VarHandle.AccessMode.GetAndAdd Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The access mode whose access is specified by the corresponding method VarHandle.getAndAdd
[Android.Runtime.Register("GET_AND_ADD", ApiSince=33)]
public static Java.Lang.Invoke.VarHandle.AccessMode GetAndAdd { get; }
[<Android.Runtime.Register("GET_AND_ADD", ApiSince=33)>]
static member GetAndAdd : Java.Lang.Invoke.VarHandle.AccessMode
Property Value
The GetAndAdd(Object[]) mode for atomic numeric addition that returns the previous value, with volatile read and write ordering. Support depends on the variable type and handle; check IsAccessModeSupported(VarHandle+AccessMode).
- Attributes
Remarks
The access mode whose access is specified by the corresponding method VarHandle.getAndAdd
Java reference for java.lang.invoke.VarHandle.AccessMode.GET_AND_ADD.