COMMethodInfo.DeclaringType 属性

定义

获取用于声明此方法的类型。

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 virtual property Type ^ DeclaringType { Type ^ get(); };
public override Type DeclaringType { get; }
member this.DeclaringType : Type
Public Overrides ReadOnly Property DeclaringType As Type

属性值

为 null,因为声明此方法的类型是外部 COM 对象。

适用于

另请参阅