MailMergeDataSource.InvalidComments Property
If the InvalidAddress property is True, returns or sets a String that describes an invalid address error.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim mailMergeDataSource1 As MailMergeDataSource
Dim returnValue As String
returnValue = mailMergeDataSource1.InvalidComments
Dim sampleValue As String
mailMergeDataSource1.InvalidComments = sampleValue
Syntax
Property InvalidComments() As String
string InvalidComments {get; set;}
property String^ InvalidComments{
String^ get();
Void set(String^);
}
public System.String get_InvalidComments();
public void set_InvalidComments(System.String);
function get InvalidComments() : String;
function set InvalidComments(String);
Remarks
Use the SetAllErrorFlags method to set both the InvalidAddress and InvalidComments properties for all records in a data source.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
MailMergeDataSource Interface
Microsoft.Office.Interop.Word Namespace