Partilhar via


FormDataObject.allowAdd Method

Definition

Overloads

allowAdd()

Sets or returns the value of the allowAdd property for the form data object.

allowAdd(Int32)

allowAdd()

Sets or returns the value of the allowAdd property for the form data object.

public:
 virtual int allowAdd();
public virtual int allowAdd ();
abstract member allowAdd : unit -> int
override this.allowAdd : unit -> int
Public Overridable Function allowAdd () As Integer

Returns

A FormAllowAdd enumeration value that indicates whether the allowAdd property is set to No, Restricted, or Yes.

Remarks

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);

Applies to

allowAdd(Int32)

public:
 virtual int allowAdd(int _value);
public virtual int allowAdd (int _value);
abstract member allowAdd : int -> int
override this.allowAdd : int -> int
Public Overridable Function allowAdd (_value As Integer) As Integer

Parameters

_value
Int32

The value to assign to the allowEdit property.

Returns

Applies to