Share via


ComObject.IDynamicInterfaceCastable.GetInterfaceImplementation 方法

定义

确定用于调度指定接口类型的类型。 当无法在类的元数据中找到给定的接口类型时,在接口调度期间调用此方法。

 virtual RuntimeTypeHandle System.Runtime.InteropServices.IDynamicInterfaceCastable.GetInterfaceImplementation(RuntimeTypeHandle interfaceType) = System::Runtime::InteropServices::IDynamicInterfaceCastable::GetInterfaceImplementation;
RuntimeTypeHandle IDynamicInterfaceCastable.GetInterfaceImplementation (RuntimeTypeHandle interfaceType);
abstract member System.Runtime.InteropServices.IDynamicInterfaceCastable.GetInterfaceImplementation : RuntimeTypeHandle -> RuntimeTypeHandle
override this.System.Runtime.InteropServices.IDynamicInterfaceCastable.GetInterfaceImplementation : RuntimeTypeHandle -> RuntimeTypeHandle
Function GetInterfaceImplementation (interfaceType As RuntimeTypeHandle) As RuntimeTypeHandle Implements IDynamicInterfaceCastable.GetInterfaceImplementation

参数

interfaceType
RuntimeTypeHandle

接口类型。

返回

应该用于在当前对象上为 interfaceType 调度的类型。

实现

适用于