TypeBuilder.HasElementTypeImpl 方法

定义

当在派生类中重写时,实现 HasElementType 属性,确定当前 Type 是否包含另一类型或对其引用;即,当前 Type 是否是数组、指针或由引用传递。

protected:
 override bool HasElementTypeImpl();
protected override bool HasElementTypeImpl ();
override this.HasElementTypeImpl : unit -> bool
Protected Overrides Function HasElementTypeImpl () As Boolean

返回

如果 true 为数组、指针或按引用传递,则为 Type;否则为 false

适用于