ODSOFilter Interface

Definition

Represents a filter to be applied to an attached mail merge data source.

public interface class ODSOFilter : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C1533-0000-0000-C000-000000000046")]
public interface ODSOFilter : Microsoft.Office.Core._IMsoDispObj
[<System.Runtime.InteropServices.Guid("000C1533-0000-0000-C000-000000000046")>]
type ODSOFilter = interface
    interface _IMsoDispObj
Public Interface ODSOFilter
Implements _IMsoDispObj
Attributes
Implements

Remarks

The ODSOFilter object is a member of the ODSOFilters object.

Each filter is a line in a query string. Use the Column, Comparison, CompareTo, and Conjunction properties to return or set the data source query criterion.

Use the Add(String, MsoFilterComparison, MsoFilterConjunction, String, Boolean) method of the ODSOFilters object to add a new filter criterion to the query.

Properties

Application

Returns an Application object that represents the container application for the object.

Column

Returns or sets a String that represents the name of the field in the mail merge data source to use in the filter.

CompareTo

Returns or sets a String that represents the text to compare in the query filter criterion.

Comparison

Returns or sets a MsoFilterComparison constant that represents how to compare the Column and CompareTo properties.

Conjunction

Returns or sets a MsoFilterConjunction constant that represents how a filter criterion relates to other filter criteria in the ODSOFilters object.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Index

Returns an Integer representing the index number for an object in the collection.

Parent

Returns the Parent object for the specified object.

Applies to