PatternConverter SetNext Method | Apache log4net™ SDK Documentation

Set the next pattern converter in the chains

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public virtual PatternConverter SetNext(
    	PatternConverter patternConverter
    )

    Public Overridable Function SetNext (
    	patternConverter As PatternConverter
    ) As PatternConverter

    public:
    virtual PatternConverter^ SetNext(
    	PatternConverter^ patternConverter
    )

    abstract SetNext :
            patternConverter : PatternConverter -> PatternConverter
    override SetNext :
            patternConverter : PatternConverter -> PatternConverter

#### Parameters

patternConverter
  Type: log4net.Util
  PatternConverter
  the pattern converter that should follow this converter in the chain

#### Return Value

Type: PatternConverter
the next converter
Remarks

The PatternConverter can merge with its neighbor during this method (or a sub class). Therefore the return value may or may not be the value of the argument passed in.

See Also

#### Reference

PatternConverter Class
log4net.Util Namespace