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

适用于