OWSNumberField.Required property
NOTE: This API is now obsolete.
Gets or sets a Boolean value that specifies whether the number field must contain a value.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("This class has been deprecated.")> _
Public Property Required As Boolean
Get
Set
'Usage
Dim instance As OWSNumberField
Dim value As Boolean
value = instance.Required
instance.Required = value
[ObsoleteAttribute("This class has been deprecated.")]
public bool Required { get; set; }
Property value
Type: System.Boolean
true if the number field requires a value.