共用方式為


DisplayAttribute.GetAutoGenerateField 方法

定義

傳回 AutoGenerateField 屬性值。

public:
 Nullable<bool> GetAutoGenerateField();
public bool? GetAutoGenerateField ();
member this.GetAutoGenerateField : unit -> Nullable<bool>
Public Function GetAutoGenerateField () As Nullable(Of Boolean)

傳回

如果 AutoGenerateField 屬性已初始化,則為屬性值,否則為 null

適用於