StrategyBasedComWrappers.DefaultIUnknownInterfaceDetailsStrategy 属性

定义

获取用于发现有关 COM 接口的接口详细信息的默认策略。

public:
 static property System::Runtime::InteropServices::Marshalling::IIUnknownInterfaceDetailsStrategy ^ DefaultIUnknownInterfaceDetailsStrategy { System::Runtime::InteropServices::Marshalling::IIUnknownInterfaceDetailsStrategy ^ get(); };
public static System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceDetailsStrategy DefaultIUnknownInterfaceDetailsStrategy { get; }
static member DefaultIUnknownInterfaceDetailsStrategy : System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceDetailsStrategy
Public Shared ReadOnly Property DefaultIUnknownInterfaceDetailsStrategy As IIUnknownInterfaceDetailsStrategy

属性值

注解

此策略可以发现使用 源生成的 COM 互操作(使用 GeneratedComInterfaceAttribute 和 属性)的接口和 GeneratedComClassAttribute 类。 此策略在 IUnknownDerivedAttribute<T,TImpl> 提供的对象的类型上查找 或 ComExposedClassAttribute<T> 属性,以发现 COM 类型信息。

适用于