VarHandle.IsAccessModeSupported(VarHandle+AccessMode) Method
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.
Determines whether the specified access mode is supported by this VarHandle.
[Android.Runtime.Register("isAccessModeSupported", "(Ljava/lang/invoke/VarHandle$AccessMode;)Z", "", ApiSince=33)]
public bool IsAccessModeSupported(Java.Lang.Invoke.VarHandle.AccessMode? accessMode);
[<Android.Runtime.Register("isAccessModeSupported", "(Ljava/lang/invoke/VarHandle$AccessMode;)Z", "", ApiSince=33)>]
member this.IsAccessModeSupported : Java.Lang.Invoke.VarHandle.AccessMode -> bool
Parameters
- accessMode
- VarHandle.AccessMode
The access mode to check.
Returns
true if accessMode is supported; otherwise, false.
- Attributes
Remarks
If this method returns false, invoking the corresponding access mode method throws UnsupportedOperationException.
Java documentation for java.lang.invoke.VarHandle.isAccessModeSupported(VarHandle.AccessMode).