语言

XAPeerMembers.UsesVirtualDispatch(IJavaPeerable, Type) 方法

定义

确定是否对Java对等方使用虚拟调度。

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

参数

value
IJavaPeerable

要检查Java对等方。

declaringType
Type

当没有可用的阈值类型时,基本调度测试使用的声明类型,或 null。

返回

如果阈值类型存在, 则为等于托管类型的阈值类型 ,否则为 />。 如果不存在阈值类型,则为基本调度测试的结果。

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于