MailMergeDataSource.SetAllErrorFlags(Boolean, String) 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.
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.