OfficeDataSourceObject Interface

Represents the mail merge data source in a mail merge operation.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

[GuidAttribute("000C1530-0000-0000-C000-000000000046")]
public interface OfficeDataSourceObject

To work with the OfficeDataSourceObject object, dimension a variable as an OfficeDataSourceObject object. You can then work with the different properties and methods associated with the object.

Use the SetSortOrder method to specify how to sort the records in a data source. Use the Column, Comparison, CompareTo, and Conjunction properties to return or set the data source query criterion.

Show: