MailMergeDataSource.LastRecord Property
Returns or sets the number of the last data record to be merged in a mail merge operation.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim mailMergeDataSource1 As MailMergeDataSource
Dim returnValue As Integer
returnValue = mailMergeDataSource1.LastRecord
Dim sampleValue As Integer
mailMergeDataSource1.LastRecord = sampleValue
Syntax
Property LastRecord() As Integer
int LastRecord {get; set;}
property Int32 LastRecord{
Int32 get();
Void set(Int32);
}
public int get_LastRecord();
public void set_LastRecord(int);
function get LastRecord() : int;
function set LastRecord(int);
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