Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets or returns the value of the allowAdd property for the form data object.
Syntax
public int allowAdd([int value])
Run On
Client
Parameters
- value
Type: int
The value to assign to the allowEdit property.
Return Value
Type: int
A FormAllowAdd enumeration value that indicates whether the allowAdd property is set to No, Restricted, or Yes.
Examples
The following example shows how to retrieve and set the allowAdd property.
// fdo previously assigned to a FormDataObject object.
// Retrieve the allowAdd property.
nAllowAdd = fdo.allowAdd();
// Set the allowAdd property.
fdo.allowAdd(FormAllowAdd::Restricted);