blob: 66e149ee47ad72ac2d562da3c83e31d2131232cc [file] [log] [blame]
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>LevelCollection Methods</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSDN.css" />
</head>
<body id="bodyID" class="dtBODY">
<div id="nsbanner">
<div id="bannerrow1">
<table class="bannerparthead" cellspacing="0">
<tr id="hdr">
<td class="runninghead">Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0</td>
<td class="product">
</td>
</tr>
</table>
</div>
<div id="TitleRow">
<h1 class="dtH1">LevelCollection�Methods</h1>
</div>
</div>
<div id="nstext">
<p>The methods of the <b>LevelCollection</b> class are listed below. For a complete list of <b>LevelCollection</b> class members, see the <a href="log4net.Core.LevelCollectionMembers.html">LevelCollection Members</a> topic.</p>
<h4 class="dtH4">Public Static (Shared) Methods</h4>
<div class="tablediv">
<table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><img src="static.gif" /><a href="log4net.Core.LevelCollection.ReadOnly.html">ReadOnly</a></td><td width="50%"> Creates a read-only wrapper for a <code>LevelCollection</code> instance. </td></tr></table>
</div>
<h4 class="dtH4">Public Instance Methods</h4>
<div class="tablediv">
<table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.Add.html">Add</a></td><td width="50%"> Adds a <a href="log4net.Core.Level.html">Level</a> to the end of the <code>LevelCollection</code>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.AddRange_overloads.html">AddRange</a></td><td width="50%">Overloaded. Adds the elements of another <code>LevelCollection</code> to the current <code>LevelCollection</code>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.Clear.html">Clear</a></td><td width="50%"> Removes all elements from the <code>LevelCollection</code>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.Clone.html">Clone</a></td><td width="50%"> Creates a shallow copy of the <a href="log4net.Core.LevelCollection.html">LevelCollection</a>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.Contains.html">Contains</a></td><td width="50%"> Determines whether a given <a href="log4net.Core.Level.html">Level</a> is in the <code>LevelCollection</code>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.CopyTo_overloads.html">CopyTo</a></td><td width="50%">Overloaded. Copies the entire <code>LevelCollection</code> to a one-dimensional <a href="log4net.Core.Level.html">Level</a> array. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassEqualsTopic.htm">Equals</a> (inherited from <b>Object</b>)</td><td width="50%"></td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.GetEnumerator.html">GetEnumerator</a></td><td width="50%"> Returns an enumerator that can iterate through the <code>LevelCollection</code>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassGetHashCodeTopic.htm">GetHashCode</a> (inherited from <b>Object</b>)</td><td width="50%"></td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassGetTypeTopic.htm">GetType</a> (inherited from <b>Object</b>)</td><td width="50%"></td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.IndexOf.html">IndexOf</a></td><td width="50%"> Returns the zero-based index of the first occurrence of a <a href="log4net.Core.Level.html">Level</a> in the <code>LevelCollection</code>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.Insert.html">Insert</a></td><td width="50%"> Inserts an element into the <code>LevelCollection</code> at the specified index. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.Remove.html">Remove</a></td><td width="50%"> Removes the first occurrence of a specific <a href="log4net.Core.Level.html">Level</a> from the <code>LevelCollection</code>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.RemoveAt.html">RemoveAt</a></td><td width="50%"> Removes the element at the specified index of the <code>LevelCollection</code>. </td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassToStringTopic.htm">ToString</a> (inherited from <b>Object</b>)</td><td width="50%"></td></tr>
<tr VALIGN="top"><td width="50%"><img src="pubmethod.gif"></img><a href="log4net.Core.LevelCollection.TrimToSize.html">TrimToSize</a></td><td width="50%"> Sets the capacity to the actual number of elements. </td></tr></table>
</div>
<h4 class="dtH4">Protected Instance Methods</h4>
<div class="tablediv">
<table class="dtTABLE" cellspacing="0">
<tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassFinalizeTopic.htm">Finalize</a> (inherited from <b>Object</b>)</td><td width="50%"></td></tr>
<tr VALIGN="top"><td width="50%"><img src="protmethod.gif"></img><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemObjectClassMemberwiseCloneTopic.htm">MemberwiseClone</a> (inherited from <b>Object</b>)</td><td width="50%"></td></tr></table>
</div>
<h4 class="dtH4">See Also</h4>
<p>
<a href="log4net.Core.LevelCollection.html">LevelCollection Class</a> | <a href="log4net.Core.html">log4net.Core Namespace</a></p>
<object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
<param name="Keyword" value="LevelCollection class, methods">
</param>
</object>
<hr />
<div id="footer"><a href='http://logging.apache.org/log4net/'>Copyright 2004-2011 The Apache Software Foundation.</a><br></br>Apache log4net, Apache and log4net are trademarks of The Apache Software Foundation.</div>
</div>
</body>
</html>