Partilhar via


FormReferenceObject.mandatory Method

Definition

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.

Returns

Applies to