CodeTypeReference.ArrayElementType 属性

定义

获取或设置数组元素的类型。Gets or sets the type of the elements in the array.

public:
 property System::CodeDom::CodeTypeReference ^ ArrayElementType { System::CodeDom::CodeTypeReference ^ get(); void set(System::CodeDom::CodeTypeReference ^ value); };
public System.CodeDom.CodeTypeReference ArrayElementType { get; set; }
member this.ArrayElementType : System.CodeDom.CodeTypeReference with get, set
Public Property ArrayElementType As CodeTypeReference

属性值

CodeTypeReference

一个指示数组元素的类型的 CodeTypeReferenceA CodeTypeReference that indicates the type of the array elements.

注解

这会被忽略,除非 ArrayRank 属性大于或等于1。This is disregarded unless the ArrayRank property is greater than or equal to 1.

适用于