This document is archived and information here might be outdated.  Recommended version.


IGxObjectFilterCollection.AddFilter Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Catalog > ESRI.ArcGIS.Catalog > Interfaces > IG > IGxObjectFilterCollection Interface > IGxObjectFilterCollection.AddFilter Method
ArcGIS Developer Help

IGxObjectFilterCollection.AddFilter Method

Add a filter to the filter collection, and specify if it is to selected by default.

[Visual Basic .NET]
Public Sub AddFilter ( _
    ByVal Filter As IGxObjectFilter, _
    ByVal defaultFilter As Boolean _
)
[C#]
public void AddFilter (
    IGxObjectFilter Filter,
    bool defaultFilter
);

Product Availability

Available with ArcGIS Desktop.

See Also

IGxObjectFilterCollection Interface

.NET Samples

Create a custom raster function Create an NDVI custom raster function