Share via


NullabilityInfo.ElementType 屬性

定義

取得陣列之項目類型的 Null 屬性資訊。

public:
 property System::Reflection::NullabilityInfo ^ ElementType { System::Reflection::NullabilityInfo ^ get(); };
public System.Reflection.NullabilityInfo? ElementType { get; }
member this.ElementType : System.Reflection.NullabilityInfo
Public ReadOnly Property ElementType As NullabilityInfo

屬性值

如果成員類型是陣列, NullabilityInfo 則為陣列專案的 ,否則 null為 。

適用於