COMMethodInfo.DeclaringType 属性

定义

获取用于声明此方法的类型。Gets the type that declares this method.

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

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

属性值

Type

为 null,因为声明此方法的类型是外部 COM 对象。null, because the type that declares this method is an external COM object.

适用于

另请参阅