Language

XAPeerMembers.UsesVirtualDispatch(IJavaPeerable, Type) Method

Definition

Determines whether to use virtual dispatch for a Java peer.

protected override bool UsesVirtualDispatch(Java.Interop.IJavaPeerable value, Type? declaringType);
override this.UsesVirtualDispatch : Java.Interop.IJavaPeerable * Type -> bool

Parameters

value
IJavaPeerable

The Java peer to inspect.

declaringType
Type

The declaring type used by the base dispatch test when no threshold type is available, or null.

Returns

If a threshold type exists, true when it equals the managed type of value; otherwise, the result of the base dispatch test.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to