log4net SDK Reference |

# NdcFilter Class

Simple filter to match a string in the NDC

For a list of all members of this type, see NdcFilter Members.

System.Object
log4net.Filter.FilterSkeleton
log4net.Filter.StringMatchFilter
log4net.Filter.PropertyFilter
log4net.Filter.NdcFilter

[Visual Basic]
Public Class NdcFilter
Inherits PropertyFilter
[C#]
public class NdcFilter : PropertyFilter

#### Thread Safety

This type is not safe for multithreaded operations.

#### Remarks

Simple filter to match a string in the NDC

As the MDC has been replaced with named stacks stored in the properties collections the PropertyFilter should be used instead.

#### Requirements

Namespace: log4net.Filter

Assembly: log4net (in log4net.dll)

#### See Also

NdcFilter Members | log4net.Filter Namespace