LevelCollection ReadOnly Method | Apache log4net™ SDK Documentation

Creates a read-only wrapper for a LevelCollection instance.

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

C#
VB
C++
F#
Copy

    public static LevelCollection ReadOnly(
    	LevelCollection list
    )

    Public Shared Function ReadOnly (
    	list As LevelCollection
    ) As LevelCollection

    public:
    static LevelCollection^ ReadOnly(
    	LevelCollection^ list
    )

    static member ReadOnly :
            list : LevelCollection -> LevelCollection

#### Parameters

list
  Type: log4net.Core
  LevelCollection
  list to create a readonly wrapper arround

#### Return Value

Type: LevelCollection
A LevelCollection wrapper that is read-only.
See Also

#### Reference

LevelCollection Class
log4net.Core Namespace