log4net SDK Reference |

# AppenderSkeleton.AddFilter Method

Adds a filter to the end of the filter chain.

[Visual Basic]
Overridable Public Sub AddFilter( _
ByVal filter As IFilter _
)
[C#]
public virtual void AddFilter(
IFilter filter
);

#### Parameters

filter
  the filter to add to this appender

#### Remarks

The Filters are organized in a linked list.

Setting this property causes the new filter to be pushed onto the back of the filter chain.

#### See Also

AppenderSkeleton Class | log4net.Appender Namespace