MailMergeDataSource.SetAllErrorFlags(Boolean, String) Method

Definition

Marks all records in a mail merge data source as containing invalid data in an address field.

public:
 void SetAllErrorFlags(bool Invalid, System::String ^ InvalidComment);
public void SetAllErrorFlags (bool Invalid, string InvalidComment);
abstract member SetAllErrorFlags : bool * string -> unit
Public Sub SetAllErrorFlags (Invalid As Boolean, InvalidComment As String)

Parameters

Invalid
Boolean

Required Boolean. True marks all records in the data source of a mail merge as invalid.

InvalidComment
String

Required String. Text describing the invalid setting.

Remarks

You can individually mark data source records that contain invalid data in an address field by using the InvalidAddress and InvalidComments properties.

Applies to