GetAutoGenerateField Method

DisplayAttribute.GetAutoGenerateField Method ()

.NET Framework (current version)
 

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.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Return to top
Show:
© 2016 Microsoft