FormReferenceObject.mandatory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
mandatory() |
Sets or returns a value that indicates whether the data field is mandatory. |
mandatory(Boolean) |
mandatory()
Sets or returns a value that indicates whether the data field is mandatory.
public:
override bool mandatory();
public override bool mandatory ();
override this.mandatory : unit -> bool
Public Overrides Function mandatory () As Boolean
Returns
true if the field is mandatory; otherwise, false.
Applies to
mandatory(Boolean)
public:
override bool mandatory(bool _value);
public override bool mandatory (bool _value);
override this.mandatory : bool -> bool
Public Overrides Function mandatory (_value As Boolean) As Boolean
Parameters
- _value
- Boolean
The value that is assigned to the mandatory property of the field.