JniPeerMembers.UsesVirtualDispatch(IJavaPeerable, Type) 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 an instance call should use virtual dispatch.
protected virtual bool UsesVirtualDispatch(Java.Interop.IJavaPeerable value, Type? declaringType);
abstract member UsesVirtualDispatch : Java.Interop.IJavaPeerable * Type -> bool
override this.UsesVirtualDispatch : Java.Interop.IJavaPeerable * Type -> bool
Parameters
- value
- IJavaPeerable
The managed peer receiving the call.
- declaringType
- Type
The requested managed declaring type, or null when no declaring type is specified.
Returns
true if the runtime type equals declaringType, declaringType is null, or the runtime type equals the peer member set's managed type; otherwise, false.
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.