log4net SDK Reference |

# LevelCollection.ReadOnly Method

Creates a read-only wrapper for a `LevelCollection` instance.

[Visual Basic]
Public Shared Function ReadOnly( _
ByVal list As LevelCollection _
) As LevelCollection
[C#]
public static LevelCollection ReadOnly(
LevelCollection list
);

#### Parameters

list
  list to create a readonly wrapper arround

#### Return Value

A `LevelCollection` wrapper that is read-only.

#### Remarks

Missing <remarks> documentation for M:log4net.Core.LevelCollection.ReadOnly(log4net.Core.LevelCollection)

#### See Also

LevelCollection Class | log4net.Core Namespace