TypeDelegator.HasElementTypeImpl 方法

定义

获取一个值,该值指示当前 Type 是否包含或引用其他类型,即当前 Type 是数组、指针还是 ByRef。Gets a value indicating whether the current Type encompasses or refers to another type; that is, whether the current Type is an array, a pointer or a ByRef.

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

返回

如果 Type 是数组、指针或 ByRef,则为 true;否则为 falsetrue if the Type is an array, a pointer or a ByRef; otherwise, false.

适用于