IUnknownDerivedAttribute<T,TImpl> 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重要
此 API 不符合 CLS。
指示接口是 IUnknown 派生接口的托管表示形式。
generic <typename T, typename TImpl>
 where T : IIUnknownInterfaceTypepublic ref class IUnknownDerivedAttribute : Attribute, System::Runtime::InteropServices::Marshalling::IIUnknownDerivedDetails[System.AttributeUsage(System.AttributeTargets.Interface, Inherited=false)]
[System.CLSCompliant(false)]
public class IUnknownDerivedAttribute<T,TImpl> : Attribute, System.Runtime.InteropServices.Marshalling.IIUnknownDerivedDetails where T : IIUnknownInterfaceType[<System.AttributeUsage(System.AttributeTargets.Interface, Inherited=false)>]
[<System.CLSCompliant(false)>]
type IUnknownDerivedAttribute<'T, 'Impl (requires 'T :> IIUnknownInterfaceType)> = class
    inherit Attribute
    interface IIUnknownDerivedDetailsPublic Class IUnknownDerivedAttribute(Of T, TImpl)
Inherits Attribute
Implements IIUnknownDerivedDetails类型参数
- T
提供有关接口的类型级信息的类型。
- TImpl
用于从托管调用方调用接口的非托管实现的类型。
- 继承
- 属性
- 实现
构造函数
| IUnknownDerivedAttribute<T,TImpl>() | 初始化 IUnknownDerivedAttribute<T,TImpl> 类的新实例。 | 
属性
| Iid | 获取接口 ID。 | 
| Implementation | 获取用于投影 IUnknown 派生接口的托管类型。 | 
| ManagedVirtualMethodTable | 获取指向虚拟方法表的指针,使非托管调用方能够调用 接口的托管实现。 | 
| TypeId | 在派生类中实现时,获取此 Attribute 的唯一标识符。(继承自 Attribute) | 
方法
| Equals(Object) | 返回一个值,该值指示此实例是否与指定的对象相等。(继承自 Attribute) | 
| GetHashCode() | 返回此实例的哈希代码。(继承自 Attribute) | 
| GetType() | 获取当前实例的 Type。(继承自 Object) | 
| IsDefaultAttribute() | 在派生类中重写时,指示此实例的值是否是派生类的默认值。(继承自 Attribute) | 
| Match(Object) | 当在派生类中重写时,返回一个指示此实例是否等于指定对象的值。(继承自 Attribute) | 
| MemberwiseClone() | 创建当前 Object 的浅表副本。(继承自 Object) | 
| ToString() | 返回表示当前对象的字符串。(继承自 Object) |