_Type.HasElementType 屬性

定義

為 COM 物件提供與版本無關的 HasElementType 屬性之存取權。

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

屬性值

如果 true 是陣列、指標或以傳址方式傳遞,則為 Type,否則為 false

備註

此屬性適用於從 Unmanaged 程式代碼存取 Managed 類別,而且不應該從 Managed 程式代碼呼叫。

Type.HasElementType 屬性

適用於