XmlLayout ActivateOptions Method | Apache log4net™ SDK Documentation

Initialize layout options

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

C#
VB
C++
F#
Copy

    public override void ActivateOptions()

    Public Overrides Sub ActivateOptions

    public:
    virtual void ActivateOptions() override

    abstract ActivateOptions : unit -> unit
    override ActivateOptions : unit -> unit

#### Implements

IOptionHandler
ActivateOptions
Remarks

This is part of the IOptionHandler delayed object activation scheme. The ActivateOptions
method must be called on this object after the configuration properties have been set. Until ActivateOptions
is called this object is in an undefined state and must not be used.

If any of the configuration properties are modified then ActivateOptions
must be called again.

Builds a cache of the element names

See Also

#### Reference

XmlLayout Class
log4net.Layout Namespace