Export (0) Print
Expand All

DisplayAttribute.GetAutoGenerateField Method

Returns the value of the AutoGenerateField property.

Namespace:  System.ComponentModel.DataAnnotations
Assembly:  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

public Nullable<bool> GetAutoGenerateField()

Return Value

Type: System.Nullable<Boolean>
The value of AutoGenerateField if the property has been initialized; otherwise, null.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library
© 2015 Microsoft