_Type.HasElementType _Type.HasElementType _Type.HasElementType _Type.HasElementType Property

定义

为 COM 对象提供对 HasElementType 属性的与版本无关的访问。Provides COM objects with version-independent access to the HasElementType property.

public:
 property bool HasElementType { bool get(); };
public bool HasElementType { get; }
member this.HasElementType : bool
Public ReadOnly Property HasElementType As Boolean

属性值

如果 true 为数组、指针或按引用传递,则为 Type;否则为 falsetrue if the Type is an array, a pointer, or is passed by reference; otherwise, false.

注解

此属性是用于访问托管类到从非托管代码,不应从托管代码调用。This property is for access to managed classes from unmanaged code, and should not be called from managed code.

Type.HasElementType 属性The Type.HasElementType property

适用于