AppenderCollection ReadOnly Method | Apache log4net™ SDK Documentation

Creates a read-only wrapper for a AppenderCollection instance.

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

C#
VB
C++
F#
Copy

    public static AppenderCollection ReadOnly(
    	AppenderCollection list
    )

    Public Shared Function ReadOnly (
    	list As AppenderCollection
    ) As AppenderCollection

    public:
    static AppenderCollection^ ReadOnly(
    	AppenderCollection^ list
    )

    static member ReadOnly :
            list : AppenderCollection -> AppenderCollection

#### Parameters

list
  Type: log4net.Appender
  AppenderCollection
  list to create a readonly wrapper arround

#### Return Value

Type: AppenderCollection
An AppenderCollection wrapper that is read-only.
See Also

#### Reference

AppenderCollection Class
log4net.Appender Namespace