log4net SDK Reference |

# PatternConverter.SetNext Method

Set the next pattern converter in the chains

[Visual Basic]
Overridable Public Function SetNext( _
ByVal patternConverter As PatternConverter _
) As PatternConverter
[C#]
public virtual PatternConverter SetNext(
PatternConverter patternConverter
);

#### Parameters

patternConverter
  the pattern converter that should follow this converter in the chain

#### Return Value

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

PatternConverter Class | log4net.Util Namespace