MailMergeDataSource.RecordCount Property

Definition

Returns an Integer that represents the number of records in the data source.

public:
 property int RecordCount { int get(); };
public int RecordCount { get; }
member this.RecordCount : int
Public ReadOnly Property RecordCount As Integer

Property Value

Remarks

If Microsoft Word cannot determine the number of records in a data source, the RecordCount property will return a value of -1.

Applies to